Breakout clone help

Blitz3D Forums/Blitz3D Beginners Area/Breakout clone help

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Sorry b32, i understand the conscept but i cant figure out how to make that into code that would work.


Bare with me i'm very new to game programing in general.

so, somthing with a veriable that tells to change the x pos. of the ball when it hits the paddle... would i put your code "newspeedx = (balx - paddlex)" on the collision with the ball and the padle?