Pygame Tutorial - Making a Platformer ep. 4: Camera Movement and Parallax Scrolling
The implementation of a camera is actually an illusion. Instead of moving a "camera", you just move everything on screen.
The project can be downloaded here: https://dafluffypotato.com/static/platformer_project.zip
A larger platformer example project: https://cmlsc.itch.io/super-potato-bruh
If you were confused by the tile physics in the last episode, I suggest checking out my in-depth video on it here: https://youtu.be/a_YTklVVNoQ
I recently started up a Discord server. It contains announcements related to my work and a dedicated channel for questions among other things: https://discord.gg/9Qt2GxF
My Twitter: https://twitter.com/DaFluffyPotato
This video and the code produced in it are released under: CC0 1.0 Universal (CC0 1.0). This puts the video and code produced in it in the public domain, so use it for whatever you want.