Resolving collisions and getting the paddle to go to the mouse.

I’ve been playing around with this game now that I’ve got collisions registering. Only problem is if I set the paddle to the mouses position, then you can’t really do anything about collisions because you’re always updating the mouse position. Using flashpunk’s moveTowards function works and even stops when it collides into the walls but it will jitter once it gets to it’s destination of the amount of movement is more than 1.

Let me show you here: WallBall

Leave a Reply

 


%d bloggers like this: