Skip to main content
AmigoFish

How to Make a Good 2D Camera

From Game Maker's Toolkit · · 11 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.

If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.

Watch on YouTube

Not rated yet

Description

🔴 Get my premium monthly newsletter - https://gamemakerstoolkit.com/digest/ 🔴

Making a 2D game? Then you'll need to code a camera. But there's more to it than just following the main character. Here are five tips for making a better camera.

=== Sources and Resources ===

- Additional resources

Platformer Toolkit https://gmtk.itch.io/platformer-toolkit

Math for Game Programmers: Juicing Your Cameras With Math | GDC on YouTube https://www.youtube.com/watch?v=tu-Qe66AvtY

Scroll Back: The Theory and Practice of Cameras in Side-Scrollers | Game Developer https://www.gamedeveloper.com/design/scroll-back-the-theory-and-practice-of-cameras-in-side-scrollers

How Cameras in Side-Scrollers Work | GDC https://www.youtube.com/watch?v=pdvCO97jOQk

Insanely Twisted Shadow Planet Camera Explained | Ryan Meyer https://www.youtube.com/watch?v=aAKwZt3aXQM

Analysis of Screenshake Types | DaveTech http://www.davetech.co.uk/gamedevscreenshake

Basic 2D “Screen Shake” in Unity | Medium https://medium.com/nice-things-ios-android-development/basic-2d-screen-shake-in-unity-9c27b56b516

Amplify Your Game Camera | Medium https://medium.com/cg-cookie/amplify-your-game-camera-a9fb4e56570c

Muno | Twitter https://twitter.com/munosnail/status/1597255824904441859

50 Camera Mistakes | GDC Vault (Free) https://www.gdcvault.com/play/1020460/50-Camera

=== Chapters ===

00:00 - Intro 00:26 - Lookahead 03:06 - Jumping 05:06 - Damping 06:21 - Framing 08:16 - Juice 09:55 - Conclusion

=== Games Shown ===

Super Mario Maker 2 (2019) Super Mario 64 (1996) Life is Strange (2015) Platformer Toolkit (2022) Sonic Mania (2017) Metroid Dread (2021) Terraria (2011) Super Catboy (2023) Geometry Dash (2013) OlliOlli World (2022) Cave Story (2004) New Super Mario Bros. U Deluxe (2019) Sonic Generations (2011) Hyper Light Drifter (2016) Luftrausers (2014) Nuclear Throne (2015) Enter the Gungeon (2016) The Swapper (2013) Hotline Miami (2012) Ghost Song (2022) Bubsy: The Woolies Strike Back (2017) The Messenger (2018) Donkey Kong Country: Tropical Freeze (2014) Rayman Legends (2013) Shovel Knight (2014) The End Is Nigh (2017) VVVVVV (2010) Grapple Dog (2022) Haiku, the Robot (2022) Pizza Tower (2023) Hollow Knight (2017) Ori and the Will of the Wisps (2020) Guacamelee! 2 (2018) Fez (2012) Gravity Circuit (2023) Spelunky 2 (2020) Cyber Shadow (2021) Little Nightmares II (2021) Blasphemous (2019) Insanely Twisted Shadow Planet (2011) Disney Illusion Island (2023) Pyre (2017) Inside (2016) Gris (2018) Celeste (2018) Katana Zero (2019) Dave the Diver (2023) Hades (2020) Cuphead (2017) Viewfinder (2023) Tormentor X Punisher (2017) The Legend of Zelda: Link's Awakening (2019)

=== Credits ===

Music provided by Epidemic Sound - https://www.epidemicsound.com/referral/vtdu5y (Referral Link)

=== Subtitles ===

Contribute translated subtitles - https://amara.org/videos/6cZLYxYTl6OP/

Back to Game Maker's Toolkit · Report a problem