Thursday, 7 May 2009
Migrant Workforce
Sunday, 22 March 2009
A Useful Flash Extension
I'm not intending to make a habit of technical posts which are only tangentially on the subject of video games. However, when I come across something which is likely to be of use to other developers, it seems worth linking it up.
I've been pulling in a large number of bitmaps into flash recently (in fact importing them from Photoshop psds). I'm scaling the objects in my game, so I need to set the properties of each bitmap to 'allow smoothing', so they anti-alias as they scale (i.e. they scale smoothly rather than going all pixellated).
Quite unhelpfully, the Flash GUI doesn't allow the Properties of multiple library objects to be set at once. And even more unhelpfully, it defaults all Bitmap Properties to 'don't allow smoothing'. This means I would have spent the whole of friday afternoon going left click.. right click.. left click.. left click.. left click.. grind teeth.. repeat..
.. if it wasn't for this lovely Extension which allows you to select a folder, and recursively set the properties of all bitmaps below it with just a couple of clicks.
So thanks Devon O. Wolfgang! You just saved me HOURS of toil!
Okay, your normal exciting game development news service may resume...
/shuffles off..
Saturday, 24 January 2009
Particles
So I finally got around to porting my particle engine to Actionscript 3 last week. You can see a little test swf here.
What I particularly like about my engine is that it allows behaviours to be defined in XML. Which means the code stays nice and clean (you just create an emitter, give it an XML file and start it up), but more importantly that a non-programmer can tweak particle effects to their heart's content.
To give you an idea, here is the XML for the emitters in my test - both the one attached to the mouse pointer, and the one when you click.