In this tutorial we will add a grpahical user interface to the mario platformer and also add collision mechanics to cover interactions with the enemies and the coins. Unfortunately, to fully follow this tutorial you will need to have watched the earlier parts.
Project files:
https://github.com/clear-code-project...
Other videos in the Mario platformer saga:
1 - Intro: • Creating a Mario style platformer in ...
2 - Player creation: • Creating a platformer in Pygame with ...
3 - Level creation: • Creating a Mario style level in Pytho...
4 - Overworld: • Creating a Mario-style overworld in P...
Introduction to Pygame (if you are lost):
• The ultimate introduction to Pygame
Timestamps:
0:00:00 - Intro
0:01:09 - Project setup
0:04:44 - Displaying the user interface
0:28:08 - Updating the user interface
0:35:31 - Player collisions with the enemies
1:08:03 - Game over state management