Ball deflecting walls like arkanoid or brick game

BlitzMax Forums/BlitzMax Programming/Ball deflecting walls like arkanoid or brick game

simply reverse the X, Y speeds when the ball hits something and use a sin/cos calculation when it hits the bat to work out the angle it should bounce off.