Space invaders tutorial 4 – Aliens coming down, collision and Game over text

As the title explains very clearly we are going to talk in this 4th part of the tutorial of Space Invaders made with pygame, about:

  • making the alien go down when they hit the “window” boards
  • detect collision with ship
  • stop the alien then
  • make a text appear with game over

The code and assets: https://github.com/formazione/space_invaders

Part 1

Part 2

Part 3

Next part

Part 5


Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.