Pygame Tutorial 20 - Scrolling Camera

Subscribers:
56,700
Published on ● Video Link: https://www.youtube.com/watch?v=LePwTRycvmQ



Duration: 0:00
269 views
16


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. In this video, we will focus on expanding the map by implementing scrolling. Currently megaman is stuck within the confines of the game window boundaries. With scrolling, instead of moving megaman, we move everything else on the map. So if we press on the left arrow key to move megaman to the left, we actually move everything else to the right, and vice versa. By having everything else move to the right, it simulates megaman moving to the left.

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