Pygame Tutorial 18 - Traps, Hazards, Spikes
pygame tutorial. In the previous videos, we added items to the game by having metalls drop them at random rates after being destroyed. Specfically, we added healing items that megaman can pick up. Another feature of many platformer video games is traps, or hazards. Along with monsters and enemies, traps or hazards can cause damage to the player. Essentially, they are any dangerous element, such as electricity to shock the player, or lava/fire to burn the player. In the megaman game series, the traps are spikes that will immediately eliminate the player upon collision.
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-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 |
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 |