Pong type game.

http://kabal-net.com/games/pong.htm

Anyway my 1st game, very simple…tell me what you think?

A-Z are bad keys for a German keyboard…

Does the motion of the batter depend on key repeat rate? It shouldn’t.

nothing fancy, but you gotta start somewhere

some bugs:

  • like herk pointed out, use KeyPressed and set a boolean flag instead to increase posY at the occurance at every event of KeyPressed
  • sometimes the right wall turns red. it only does this sometimes and not every time the wall is hit.

some tips:

  • perhaps wait for the user to press space to launch ball instead of having it relaunch automatically
  • add an AI player!
  • better gfx :slight_smile:
  • arrow up/down might be a suitable option to A/Z

Thanks for your input.

Regarding the “red wall”. Does this every 5 points you get to indicate level increase, along with faster ball movement