2D Game Engine in C++: [6] Perspective @s0lly
2D Game Engine in C++: [6] Perspective  @s0lly
Uploaded January 2019 | Updated September 2026, 2 hours ago
This video expands the "planes" concept, allowing for corrected translation and scaling of sprites depending on which plane they exist on, creating a pretty cool sense of depth.

An example of this effect would be for clouds flying on top of the game world for a top-down game. As they would be "closer" to the camera, they would naturally move faster and be of different scales depending on how high up / close to the camera they are.

The Draw routine allows for all of an object's information in determining where it should be drawn, so the graphics calls are relatively simple to use in coding. Hopefully this will allow me to easily add in whatever graphics I need for my next game ideas, which will allow me to spend a lot more time on other game development concepts, e.g. AI.

I will release all code on GitHub once I've 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++: [6] PerspectiveGame Engine 23: MiningOpenGL Engine - Showcase 8: Rigid BodiesGame Engine 24: Elements (My ECS Approach)2D Normal Maps - in Excel!!2D Game Engine in C++: [7] LightingOpenGL Engine - Showcase 7: SpringsProject Overlay 05: Them VisualsFirst Games in C++: Dungeons and Flagons (v0.3) - Sprite AnimationImage Editor - Update 3: Frames and AnimationOpenGL Engine - Showcase 5b: Particle Effects v2C++ FPS Raycaster Engine (v0.2)
s0lly |

2D Game Engine in C++: [6] Perspective

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER