itch.io is community of indie game creators and players

Devlogs

Update 2

Pong
A browser game made in HTML5

Features:

  • Game options:
    • Ball speed,
    • Paddle speed,
    • Player side.
  • Option changes preview - when AI vs AI is active, changing ball or paddle speed will take effect immediately. Exiting options without saving cancels made changes.

Fixes:

  • Ball bouncing - when the ball bounces off the paddle, reflection angle is calculated on the basis of paddle speed and actual ball trajectory.
  • AI paddle swipe - when the ball is near, the paddle should swipe smoothly.
Leave a comment