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

in AFuckedUpCommunity4 years ago

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: https://peakd.com/@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

Sort:  

Impressive all the science behind the 2D camera zoom is practically an unknown universe to me. Thanks @roundbeargames for this release.

thanks. more stuff coming soon :)

Perfect, I'll be glad to stop by and take a look.

Yay! 🤗
Your post has been boosted with Ecency Points.


Support Ecency, check our proposal:

Hivesigner: Vote for ProposalContinue earning Points just by using https://ecency.com, every action is rewarded (being online, posting, commenting, reblog, vote and more). Ecency: https://ecency.com/proposals/141