Pygame Tutorial 22 - Optimize Tile Map
pygame tutorial. In the previous video, we created the game map using a tile map. A tile map is a 2D list containing number codes that map to a specific tile. With this, we can design large maps and create objects based on the number code. In this video, we go over ways to optimize our game by modifying our tile map to mark tiles that we don't need to check for collision, and avoiding drawing objects on the screen if the x position is past the game screen width.
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-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 |
2025-06-20 | Pygame Tutorial 12 - Create a Health Bar |