How 2D Transforms Work? | C++ Game Engine Devlog #04 @GuilhermeTeres
How 2D Transforms Work? | C++ Game Engine Devlog #04  @GuilhermeTeres
Uploaded June 2024 | Updated November 2026, 3 hours ago
✅ Support this Project (Patreon): bit.ly/patreon-uniday
➡️ My Discord Channel: bit.ly/discord-uniday-us

The entire source code for this video plus others is available on my Patreon, so if you're interested in it, check the Patreon link for more details!

As a continuation of the previous Math video (released two days ago), I decided to go ahead and implement the "rest" of the Math library: Vec3, Mat3 and finally a Transform class for 2D. Creating a 2D transform class involving matrix and vector operations, addressing challenges and demonstrating functionality.

Timestamps:
0:00 Progress Update: Transform Class
0:06 Creating the Transform Class and Mat3
0:19 Challenges with Matrices
0:29 Creating Vec3 for Matrix Multiplication
0:38 Matrix and Vector Operations
1:00 Implementing the Transform Class
1:02 Shader Modifications for Transforms
1:14 Applying Transformations: Scaling, Rotating, Moving
1:28 Demo: Transformations in Action
1:31 Aspect Ratio Adjustment
1:46 Testing Transformations Live
2:01 Adjusting Shape to Rectangle
2:07 Debugging and Fixing Rotation
2:25 Correct Order for Transformations
3:04 Rotating and Moving the Shape
3:16 Summary and Fixes
3:35 Future Plans: Texture Loading and Audio Handling
3:45 Using Libraries for PNG Parsing
3:56 Upcoming Work on Audio

························································
► Uniday Studio
By: Guilherme Teres Nunes
How 2D Transforms Work? | C++ Game Engine Devlog #04Lets make TileMaps now! | C++ Game Engine Devlog #08People Said that my STEAM GAME is UGLY 😢 | now what?We got Fake AI INFLUENCERS before GTA 6Game Engine DEVLOG: Multi Select and Ctrl + Z (UNDO)I Made my First HORROR GAME (and its Spooky)Added LOD dithering to HUGE unannounced GAME (Open World)Epic Games Removed Unreal 5s GAME ENGINECave Engine 1.4.2 is OUT! (and well make a GAME JAM!)A brand new AUDIO SYSTEM to my Game Engine | C++ DevlogThe Moment you start to ENJOY playing your OWN GAME! | Devlog 2/3Animation just got BETTER in Cave Engine (again)
Guilherme Teres |

How 2D Transforms Work? | C++ Game Engine Devlog #04

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER