11 Nov PMCA Saturday 17:00 Python Homework 21.11.06.
Posted at 17:25h in Uncategorized 0 Comments
Continue with the pygame application. Write code to do the below tasks:
- Create a new screen called the GameOverScreen which displays the text “Game Over. Press space to start game”
- Make sure to transition to the game over screen, when the player is killed (don’t forget to clear the sprite groups before transition)
- When the player presses the SPACE key in the game over screen, the player is transitioned to the home screen and can play the game again.
Sorry, the comment form is closed at this time.