Introduction to Isometric Movement in Games

Channel:
Subscribers:
293,000
Published on ● Video Link: https://www.youtube.com/watch?v=KvSjJ-kdGio



Duration: 7:50
216,525 views
5,010


Learn how we make characters move in isometric games! We look at both the foundations and the code in Godot.
Gumroad shop: https://gdquest.mavenseed.com/courses
----
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 and motion vectors to render the characters and the levels properly.

New tutorial every day until June 22! 17/30
The playlist: https://youtube.com/playlist?list=PLhqJJNjsQ7KEr_YlibZ3SBuzfw9xwGduK
Project sources on Github: https://github.com/GDQuest/Godot-30-days-tutorial-challenge-2017

This tutorial is supported by:
- Gamblify: https://www.gamblify.com/
- Pineapple Works: http://pineapple.works/
- Play it Forward Space

Subscribe to the channel now and become a member of the community! https://youtube.com/c/Gdquest?sub_confirmation=1

Follow GDQuest on:
Twitter: https://twitter.com/NathanGDquest

This video is licensed under the CC-By 4.0 license: https://creativecommons.org/licenses/by/4.0/

You can attribute it to "GDQuest and contributors - https://www.gdquest.com/"







Tags:
isometric tutorial
isometric movement
isometric
isometric character
isometric games
movement in games
cartesian
coordinates
godot tutorial
game creation
video games
isometric game
godot engine
game engine
tutorial
game design
how-to
gamedev
game development
gdscript
gdquest
nathan lovato
godot game engine
game creation tutorial
game programming
2d game