Roundbeargames | 2D Camera Zoom & Parallax (C++ Game Devlog #0) @Roundbeargames | Uploaded March 2021 | Updated October 2024, 1 hour ago.
Some basic concepts behind 2D camera moving, zooming, and parallaxing. The little details can give you interesting results, so don't be afraid to play around with the code, vector math, worldspace vs screenspace, etc.
I can't even say I started a project yet, which is why I'm calling this Devlog #0. Next video I might have some collision detection and hitboxes.
Repository:
github.com/RoundBearChoi/CPP_FightingGame
Devlog playlist:
youtube.com/playlist?list=PLWYGofN_jX5CNMI6tqlxNtTc7v9DkfNbC
Vector videos:
youtu.be/5h9fSHTFra8
youtu.be/ow_WFw815ts
olcPixelGameEngine:
github.com/OneLoneCoder/olcPixelGameEngine
Programming Panning & Zooming:
youtu.be/ZQ8qtAizis4
Tutorial Playlist:
youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy
Any questions/comments? Join us on discord:
discord.gg/hAFTgcA
Intro: (0:00)
World space vs screen space: (0:16)
Relative position: (1:08)
Ground level on screen space: (2:41)
Parallax: (3:47)
Outro: (4:42)
Social
twitter: twitter.com/roundbeargames
facebook: facebook.com/roundbeargames17
hive: peakd.com/@roundbeargames/posts
linkedin: linkedin.com/in/jangwon-choi-15041a9a
Patreon:
patreon.com/roundbeargames
Channel Memberships:
youtube.com/roundbeargames/join
#gamedev
Some basic concepts behind 2D camera moving, zooming, and parallaxing. The little details can give you interesting results, so don't be afraid to play around with the code, vector math, worldspace vs screenspace, etc.
I can't even say I started a project yet, which is why I'm calling this Devlog #0. Next video I might have some collision detection and hitboxes.
Repository:
github.com/RoundBearChoi/CPP_FightingGame
Devlog playlist:
youtube.com/playlist?list=PLWYGofN_jX5CNMI6tqlxNtTc7v9DkfNbC
Vector videos:
youtu.be/5h9fSHTFra8
youtu.be/ow_WFw815ts
olcPixelGameEngine:
github.com/OneLoneCoder/olcPixelGameEngine
Programming Panning & Zooming:
youtu.be/ZQ8qtAizis4
Tutorial Playlist:
youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy
Any questions/comments? Join us on discord:
discord.gg/hAFTgcA
Intro: (0:00)
World space vs screen space: (0:16)
Relative position: (1:08)
Ground level on screen space: (2:41)
Parallax: (3:47)
Outro: (4:42)
Social
twitter: twitter.com/roundbeargames
facebook: facebook.com/roundbeargames17
hive: peakd.com/@roundbeargames/posts
linkedin: linkedin.com/in/jangwon-choi-15041a9a
Patreon:
patreon.com/roundbeargames
Channel Memberships:
youtube.com/roundbeargames/join
#gamedev