Pygame Tutorial 9 - Enemies
pygame tutorial. In the previous video, we went over how to create tiles and detect collisions with the tiles in the x and y directions. This allowed megaman to land on the tiles and move around the game. We further expand the game by adding enemies/monsters. For this tutorial, we use the classic megaman enemy, metall. In this video, we create a metall, have it collide and land on the tiles, and detect collision between metall and megaman. In the next video, we will go over how to create multiple enemies.
How to install Python for VS Code: • How to set up Python on Visual Studio Code
How to install Pygame: • How to Install Pygame
Pygame Tutorial Playlist: • Pygame Python Game Programming Tutorial
Click on the link below to access the images used in the tutorial!
Github for Pygame Tutorial Code: https://github.com/ImKennyYip/pygame
Python Object Oriented Programming Playlist: • Python Object Oriented Programming
Python Game Projects Tutorial Playlist: • Python Game Programming Tutorials
Pygame Website: https://www.pygame.org/
Other Videos By Kenny Yip Coding
2025-06-20 | Pygame Tutorial 12 - Create a Health Bar |
2025-06-11 | Pygame Tutorial 11 - Invincibility |
2025-06-02 | Code Flappy Bird in Python with Pygame |
2025-05-19 | Code Pacman in Javascript |
2025-05-10 | Pygame Tutorial 10 - Multiple Enemies |
2025-05-09 | Pygame Tutorial 9 - Enemies |
2025-04-22 | Pygame Tutorial 8 - Platforms and Collision |
2025-04-22 | Pygame Tutorial 7 - Friction |
2025-04-08 | Pygame Tutorial 6 - Jumping |
2025-04-07 | Pygame Tutorial 5 - Game Boundaries |
2025-04-04 | Pygame Tutorial 4 - Drawing Images |
2025-04-02 | Pygame Tutorial 3 - Keyboard Input |
2025-03-31 | Pygame Tutorial 2 - Drawing and Graphics |
2025-03-31 | Pygame Tutorial 1 - Create a Game Window |
2025-03-31 | How to Install Pygame |
2025-03-21 | Python Nested Classes (Inner Class) |
2025-03-20 | Python Class Aggregation |
2025-03-19 | Python Class Composition |
2025-03-18 | Python Abstract Class and Abstract Method |
2025-03-17 | Python Method Resolution Order / MRO, Super, and Diamond Inheritance Problem |
2025-03-16 | Python Multiple Inheritance |