Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 482 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 482 Bytes

Space Invaders

Coding Pirates Hørsholm

PyGame coordinate system

coordinates

Chained comparisons

x < y < z is equivalent to x < y and y < z

display.flip() vs display.update()

  • display.flip() will update the contents of the entire display
  • display.update() allows to update a portion of the screen, instead of the entire area of the screen. Passing no arguments, updates the entire display