
-----------------------------------
uknowhoiam
Tue Apr 14, 2009 9:12 pm

ball bounce off the brick
-----------------------------------
What is it you are trying to achieve?
I want the ball to bounce off the brick


What is the problem you are having?
the ball will not bounce off the bricks

Describe what you have tried to solve this problem
if ballx >= brickx and ballx = brickx and ballx = 3 then
        xpos := 2
    end if
    if xpos = brickx and ballx 