Daily update, before you get excited about the sprites in the screen grab above I’m using the old Mega-lo-mania sprites at the moment to speed along the dev. So full credit must be given to the Sens guys :D
WARNING - SOME GEEKY STUFF …
If you have ever done any Bitmap.copyPixels in AS2, you may have noticed that if your doing loads of it sometimes weird overlapping happens with alpha channels. It’s almost like flash is corrupting the alpha channel.
After some googling and messing around I’ve found the solution! Something that I’ve never realised is that in the command you can target another bitmap object that contains an Alpha mask.
bitmap.copyPixels(spriteSheet, new Rectangle(0, 0, 16, 16), new Point(targetX, targetY), spriteSheetAlpha, new Point(0, 0), true);
That last ‘true’ option is what does the Alpha blending. Yes big air punch…
So the new blitter drawing function can push over 10,000 objects around on the screen, animated, which is proper handy.
Managed to find some of the original mega-lo-mania sprites [via] for reference. There’s not as many as I thought, just really clever coding in the original.




