Physics based game

Hey everyone,

so a while back I played this game called n-ball (incredible game!) and the other day I thought about it again, for some reason, lol, and decided to make a similar game. So anyway yesterday and the day before came up with some code for it… then I had a thought, they way I wrote the code meant that each object had its own function with parameters like xpos, ypos, scale, bouncyness etc. I have included so far walls, pendulums, round bouncers, and “gravityballs”.

So anyway the way I wrote it meant that it is really easy to create new functions and place the objects. My idea was that if people wanted to they could add there own functions with some of there own physics stuff and it would make a really nice game with a bit of everything in it.

so if you’re interested heres the swf (arrows change momentum, thats about it to control)

and I’ll post some code if someone wants to make some more obstacles or whatever.