Hot answers tagged

1

When you click to show the variable "play/pause", it shows that the variable is indeed working - it switches from play to pause and back again every time you click "p". However, nothing happens when you hit "p". That's because you haven't implemented anything - the ball simply keeps going and the game moves on. What if you replace the if statement in the ...


Only top voted, non community-wiki answers of a minimum length are eligible