2D Camera Zoom & Parallax (C++ Game Devlog #0)

Words
87
Reading
1 min
Listen
Play
5y

2dcam zp simpler 2.png


The underlying 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:
https://github.com/RoundBearChoi/CPP_FightingGame

Vector videos:

olcPixelGameEngine:
https://github.com/OneLoneCoder/olcPixelGameEngine

Programming Panning & Zooming:

Tutorial Playlist:
https://youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy

Any questions/comments? Join us on discord:
https://discord.gg/hAFTgcA

Social
twitter: https://twitter.com/roundbeargames
facebook: https://facebook.com/roundbeargames17
hive: @roundbeargames/posts
reddit: https://reddit.com/user/roundbeargames
linkedin: https://linkedin.com/in/jangwon-choi-15041a9a

Patreon:
https://patreon.com/roundbeargames

Channel Memberships:
https://youtube.com/roundbeargames/join


rb_channel_art_1280_steem_re.png
ytlogo.pngdlogo.png twlogo.png fblogo.png rlogo.png lilogo.png

2D Camera Zoom & Parallax (C++ Game Devlog #0) | Ecency