Pygame Tutorial 23 - Fix Enemy Bullets
pygame tutorial. At this point, we have implemented most of the core features of the megaman game, including a metall enemy that fires bullets and guards, a blader enemy that flies around, trap spikes, tiles, and items. We are also able to expand the map by implementing scrolling.However there is one small issue and that is, the enemy bullets are tied to each metall. So if a metall is destroyed, the list of bullets are destroyed as well. To keep the bullets after metall is destroyed, we should put them in a global metall bullets list.
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/
⭐ If you enjoyed the tutorial and would like to support the channel, you can do so here 💖 :https://buymeacoffee.com/kennyyipcodingg
Other Videos By Kenny Yip Coding
2025-08-20 | C++ File Handling Read and Write to Text Files |
2025-08-18 | C++ String Stream |
2025-08-14 | C++ Practice File Handling Reading and Writing to Text Files |
2025-08-11 | C++ Date and Time with CTime |
2025-08-07 | C++ Algorithms and Vector Functions |
2025-08-05 | How to add a Custom Domain on Github Pages |
2025-08-05 | How to Host a Website On Github Pages |
2025-08-04 | Pygame Tutorial 26 - Animations |
2025-08-01 | Pygame Tutorial 25 - Game Over and Reset Game |
2025-07-31 | Pygame Tutorial 24 - Draw Text and Game Score |
2025-07-30 | Pygame Tutorial 23 - Fix Enemy Bullets |
2025-07-29 | Pygame Tutorial 22 - Optimize Tile Map |
2025-07-28 | Pygame Tutorial 21 - Tile Map |
2025-07-24 | Pygame Tutorial 20 - Scrolling Camera |
2025-07-23 | Pygame Tutorial 19 - Flying Enemies |
2025-07-22 | Pygame Tutorial 18 - Traps, Hazards, Spikes |
2025-07-21 | 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 |