Sunday, October 03, 2010

Blow Sh*t Up

Little quick demo of the latest game I'm working on.
I was planning to do a beat-em up game and had been working on that for a few weeks until I began to feel it would take me forever to finish what with all the animations to draw and such. Therefore I decided to ease down off the big projects for a while hence this is what I've been piddling about with these days-


Codename:Blow Sh*t Up is what I call this puppy. It's nothing more than a standard shooter with some fancy pixel particles explosions. The demo just features a bunch of enemies floating around the screen. The particle engine is so quick I can eve n add Glow and Blur filters to it without much of a halt in the fps.

I'm using the excellent Pixel Perfect Collision Engine by Troy Gilbert. Dude has made a fine piece of code there, it works like a dream.

//Accurate pixel detection turned off (bounding box same as hitTestObject)
if (PixelPerfectCollisionDetection.isColliding(ob,characterArray[i], this,false))
{
//If ship has a weak point check for it first
if(characterArray[i].box)
{
//Accurate pixel detection turned on
if(PixelPerfectCollisionDetection.isColliding(ob,characterArray[i].box,this,true,20))
{
Tint(characterArray[i], 0xFF0000,1);
characterArray[i].oldX=x;
characterArray[i].oldY=y;
characterArray[i].alive=false;
removeMovie(ob);
return;
}
}
///////////////////////////////////////////////////////////////////


Awesomeness.

--------------------

So no 'Insanity III', boo hoo I know :-) I'd love to work on it- I truly would, but the only thing I have to say in my defence to the peeps begging me to make it a Jerry McGuire-esque 'Shooooow meee the money!' because entertaining you guys or not the financial scraps I've been making from this series are laughable, it's time for another strategy.

Love that you guys appreciated the games though.

No comments: