Pygame Tutorial 16 - Enemy Defense
pygame tutorial. In the previous video, we implemented firing bullets for the metall enemies so that they can fire 3 bullets every second when megaman is within 4 tiles away. Unlike with megaman, metall fires 3 bullets at once, one goes straight, and the other two go diagonally up and down. Since metall only fires bullets when megaman is within 4 tiles away, metall will go into defense mode and guard until megaman gets close enough. When guarding, any bullets fired at metall will do no damage.
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: • Create a Platformer Game in Python with Py...
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
4 days ago | Pygame Tutorial 17 - Items |
2025-07-04 | Pygame Tutorial 16 - Enemy Defense |
2025-07-02 | Pygame Tutorial 15 - Enemy Bullets |
2025-06-30 | Pygame Tutorial 14 - Changing Enemy Direction |
2025-06-25 | Pygame Tutorial 13 - Shooting Bullets |
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) |