Bouncing Ball Physics Tutorial
Bouncing ball physics is a fun, casual game mechanic where a ball constantly bounces on its own. These games often have one objective, to avoid all obstacles.
To do that, players must time the ball’s drop speed by tapping a button or touchscreen. The game ends if the ball hits an obstacle.
Using Phaser 3 and arcade physics, you can build this game with few lines of codes. The technique here is resetting the ball speed during each floor collision.
Check out this tutorial to learn more about this game mechanic.