The following should improve a bit the way balls hits paddle.
Inside "Ball_CheckMovement" sub, substitute the follwing line
[code=thinbasic]vball(count_ball-%eBall+1).directionLR = rndf(-1,1)[/code]
with the following:
[code=thinbasic]vball(count_ball-%eBall+1).directionLR = (bx - px)/(paddle.width/2)[/code]
The above create an incidence angle (positive or negative) proportional with the position in where the ball hit the paddle.
Still to improve the way balls hit bricks or external walls.
Ciao
Eros
Bookmarks