Python Arena

Module 55

Events

Programs that react to the player. The events pygame hands the main loop and what they tell, key presses, keys held down, keeping a moving robot inside the window, and the mouse's clicks and moves.

Steps

  1. Events and key presses
  2. Keys held down
  3. The mouse