Learn how we make characters move in isometric games! We look at both the foundations and the code in Godot.
Gumroad shop:
----
In this gamedev tutorial, we look at the most common “isometric“ projection in games. It’s not exactly the same we use for isometric drawing, e.g. in industrial design. You’ll see why we use a 2:1 ratio for the size of our base cells in the video.
The function to convert cartesian coordinates to isometric ones takes only 2 lines of code:
func cartesian_to_isometric(vector):
return Vector2(vector.x - vector.y, (vector.x vector.y) / 2)
But it’s not that easy to understand without some visual pointers. When a character moves in one direction in the isometric system, he always moves both on the X and Y axis in the game. That’s where the complexity of isometric games come from: you have to manage the game data as if you were creating a top-down title, and you must then convert all the positions
1 view
21
3
7 months ago 00:00:55 2
Planet Crafter 1.0 OUT NOW - What’s new?
7 months ago 00:04:31 1
3 choses que vous ne saviez pas que votre CLÉ USB pouvait faire
7 months ago 00:05:17 1
The Best Paprika Tomato Chicken Ever Made - One Pan
7 months ago 01:27:50 1
Who Really Runs the World? | The Secret Behind Secret Societies
7 months ago 00:10:01 1
How To Find Winning Products For Dropshipping In 2024 (Full Guide)
7 months ago 02:12:05 1
Learning Blender - A step by step beginner Tutorial for 3D Artists
7 months ago 03:33:33 1
888Hz Place your brain in the frequency of wealth, prosperity & abundanceㅣAbundance Frequency