Projects and Development > Programmerin'

Fypong

<< < (2/2)

FyberOptic:
A bigger update, sort of.  Now when the ball bumps into the aliens from the side, they get knocked crooked.  From there, they continue downwards on this crooked path.  The code for this was tricky, since it involves detecting where exactly the collision happened, combined with rotation of the enemies on top of that.  So if you see anything crazy happen, it might be worth mentioning here.

The aliums shoot now too, and will shoot crookedly when applicable.  The shots are just absorbed into the paddle for now, so it doesn't hurt anything to get hit by them. 

There's other misc fixes and updates, some of which improved the framerate a bit, but by the time I added in all the extra collision detection, it probably brought it back down..!  Also, the ball actually starts at a random speed now, since I had forgotten to initialize the random seed before.  ^^;;


Download Fypong v0.3



Navigation

[0] Message Index

[*] Previous page

Go to full version