Posted February 16, 2025 by Geometer
Vector2 is an elegant thing that we have in most game engines. Until now, all vector operations in game maker had to hold x and y components separately. Rotation was used as a shortcut to avoid common vector math. No more! Now, Vector2 allows us to find the dot product of two vectors easily, or perform a complex chain of transformations with ease! With Vector2, we can pass vectors around for our structs and objects to use! We can pass by reference, or create a new Vector2 using it's constructor!
I wish game development was this luxurious when I started out!