Pygame Tutorial 13 - Shooting Bullets
pygame tutorial. In the previous video, we went over how to create the classic enemy in megaman games, called a metall, have it collide and land on the tiles, detect collision between metall and megaman, make megaman invincibile for 1 second to give him enough time to move out of the enemy's range, and create a health bar to measure megaman's curernt health.
In this video, we will implement firing bullets so that megaman can destroy the metall enemies. When firing bullets, we need to update the megaman sprites so that megaman is in a shooting position with his arm cannon, fire bullets and detect collision with the megaman, and clean up destroyed metalls, and bullets that have been used or gone off screen.
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) |