Gonna see how fast I can make a particle system background for my website in Flash with the Starling framework. And go!
Downloaded, unzipped, and the project is started in Flash Develop! Go team! http://gamua.com/starling/download/
Downloading the PDF… in a zip file? http://www.bytearray.org/?p=3371
First compile attempt – swf version 10? I need to set that to 13 ahhhhh
Found a tutorial for FlashDevelop: http://www.mclelun.com/blog/2011/08/flashdevelop-stage3d-away3d/
Oh no it’s old! I have FlashDevelop 4.0 already! WILL MAKE DO.
My swf version is 14? I didn’t know it went that high already! SUCCESSES IMMINENT.
Error: unable to open libs/player/playerglobal.swc HOW TO FIX AUGH
Oh, that’s why. The swf version should be 13! Target 11.1 – got it, moving on to missing .png files now.
Moved the missing png to a new location and…. SUCCESS! COMPILE WORKED. Back to the PDF for info about particles.
Closing 15 tabs and three windows
Wait I need to buy particle designer? For Mac? Screw that! To the internets!
Ah! A Flash version exists, though a little fewer features but SCREW THAT TIME IS OF THE ESSENCE:
No randomize button? NOOOOOO
Okay, got a particle I’m happy with…? I made the background white and it washed it all out no matter what I tried, so here’s hoping it goes well.
Wait, the PDF has XML files…? HMMMM.
Compile Error Compile Error Compile Error Compile…. Error.
Compile NO ERRORS! Onto… this weird juggler concept.
It works! Except I need new particles. These ones are white on white backgrounds. Hmm.
Gonna try inverting the colors of the texture in photoshop.
Inverting the colors was unsuccessful. Guess I’ll edit the .pex file…
Nice! I have a very subtle blue smoke particle thing going. Now to make it track the mouse…
How does Starling interact with the mouse hmmmm
Ah, it uses a custom touch event. WELL WE’LL SEE ABOUT THAT.
Hey, got the resize Event working too! Now… that’s it! I’m done! I just need to set it as the background for a webpage now…
Put it in the webpage, 100% height and 100% width… on top of everything.
Putting it behind everything doesn’t work! The wmode needs to be “direct” for Stage3D to work. But the wmode needs to be “transparent” for it to be affected by the z-index in css.
I was hoping to post a link to the work I completed… but oh well. I’ll have something new again soon.