[DEMO] Isometric Grid-Based Movement in Godot 2
A Free and Open Source Isometric grid-based movement demo for your next game project, made in the Godot Game Engine.
Get the source project on Github: http://bit.ly/isometric-demo-godot-2
Make Professional 2d Games (Kickstarter): https://gdquest.mavenseed.com/courses
----
This demonstration revolves around the past few videos, dedicated to top-down movement, the grid, and how to convert Cartesian coordinates into isometric ones (see the links below).
As the grid and the player are almost entirely disconnected, using Godot’s built-in tile map system, we can easily make changes to the original demo. in this example, we go from a top-down to an isometric grid-based game. The grid and the collisions work the same. We only convert the player’s position and motion from the Cartesian to the isometric coordinate system.
You will see a few more differences, as for example, now, the player and the obstacles need to be sorted on screen. We use the Y sort note for that.
In the video, I said Godot takes in account the tiles' pivot in the world_to_map function. It turns out it doesn't, so we still have to offset the objects (only on the Y axis).
Introduction to Isometric Movement in Games: https://youtu.be/KvSjJ-kdGio
How to code grid-based movement in Godot (4 videos): https://youtube.com/watch?v=BWBD3i00AfM&list=PLhqJJNjsQ7KEr_YlibZ3SBuzfw9xwGduK&index=11
New tutorial every day until June 22! 18/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/"