Breakout physics

Community Forums/Showcase/Breakout physics

Yahfree(Posted 2007) [#1]
Hey, i final came out with a sort of a base model for a breakout clone, the physics on how the ball bounces, and all that good stuff.

This is my first real "Done" thing i'll be using this base model to construct my breakoutclone in the future.

and a special thanks to B32, Slege and many other that put up with me when i was asking all those questions.



Controls:
[A] Accelerate ball
[Z] Deccerate ball
[Leftmousebutton] launch ball
[Movemouse] control paddle
[ESC] Quit game

Any feedback would be nice i want to know if this base model works on other computers.

Feel free to use this source in anyway you want..

Edit, forgot to add, this was made in Blitz3D


Blitzplotter(Posted 2007) [#2]
Very good work, the variable angle at which the ball rebounds of the bat was impressive. I haven't tried running it outside of Protean IDE (i.e. as a stand alone exe) but within the IDE the ball seemed to noticeably slow down and speed up , very noticeable at 12mph. Hope this helps, BP.


Paul "Taiphoz"(Posted 2007) [#3]
You still have to tackle the hardest part tho, and thats the collisions and responses from the ball to a brick.

Trust me when I say once youv done it its easy, but you can spend a lot time trying to get it working for your specific code and game.

I know it gave me nightmares back in the day.


Yahfree(Posted 2007) [#4]
Thanks for the feed back, yes i'm working on the actally game, atm struggling with menus (see beginners area), hopefuly i'll have my first game soon! i just wanted to release the ball physics on how it bounces.