Uploaded October 2021 | Updated September 2026, 2 hours ago
Give me an ol' follow on my social medias:
Discord: discord.gg/kvappxm
Twitch: twitch.tv/s0llygaming
Twitter: twitter.com/s0lly
Itch: s0lly.itch.io
Github: github.com/s0lly
Patreon: patreon.com/s0lly
Imgur: imgur.com/user/s0llyUK
Instagram: instagram.com/s0lly.gaming
Give me an ol' follow on my social medias:
Discord: discord.gg/kvappxm
Twitch: twitch.tv/s0llygaming
Twitter: twitter.com/s0lly
Itch: s0lly.itch.io
Github: github.com/s0lly
Patreon: patreon.com/s0lly
Imgur: imgur.com/user/s0llyUK
Instagram: instagram.com/s0lly.gaming


![2D Game Engine in C++: [3] Camera Rotation / Zooming
This video shows camera rotation and scaling.
The game now simply calls one function to draw sprites, where game objects rotation, scaling, and translation is taken into account as well as camera rotation, zoom, and location.
This should dramatically help coding up a wide array of 2D games, as a good chunk of graphics logic will already be allowed for.
Next, Ill look to draw sprites at different depths, to give a mock 3D effect to the drawing routine.
I will release all code on GitHub once Ive finalised the engine - and have nice looking code to boot!
Using the Chili Framework: http://wiki.planetchili.net/index.php... - thanks Chili! 2D Game Engine in C++: [3] Camera Rotation / Zooming](https://i.ytimg.com/vi/oP6FNbgRLHg/mqdefault.jpg)





![2D Game Engine in C++: [4] Planes
This video illustrates the new feature of planes or layers in the engine.
This allows the game to have depth / pseudo 3D effects. Ideas for this would be e.g. allowing for pillars in front of a player obstructing the player view - possibly quite a nice game effect.
Next, Ill look to adding alpha blending to the drawing routine.
I will release all code on GitHub once Ive finalised the engine - and have nice looking code to boot!
Using the Chili Framework: http://wiki.planetchili.net/index.php... - thanks Chili! 2D Game Engine in C++: [4] Planes](https://i.ytimg.com/vi/qqHSr180imE/mqdefault.jpg)

