Breakout style game questions,
Members - Reputation: 122
Posted 08 January 2000 - 10:06 AM
Members - Reputation: 128
Posted 08 January 2000 - 12:42 PM
2) Every frame, check to make sure the ball isn''t somewhere it shouldn''t be. If it is, kill the tile that its at (using function you wrote in step 1), then deflect the ball''s x and y velocity. I believe TANSTAAFL posted the exact equation in another message a few months ago.
Spin Studios - home of Quaternion, 2000 GDC Indie Games Fest Finalist!
Moderators - Reputation: 11431
Posted 08 January 2000 - 08:30 PM