Godot 3.1 Grid-based Movement Tutorial
Video Statistics and Information
Channel: fornclake
Views: 21,321
Rating: undefined out of 5
Keywords: godot, game dev, tutorial, rpg, grid, programming, beginners
Id: JtnnKVxoH5k
Channel Id: undefined
Length: 16min 57sec (1017 seconds)
Published: Sun May 05 2019
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
https://fornclake.com/2019/03/grid
I posted this a little while ago but I've updated it with the help of someone on my Discord to remove this tiny bit of stutter when moving. The video was recorded and uploaded today, it took me a little while to get around to it but I'm glad I recorded after the fixes.
I'd like to have a loose series of RPG tutorials that all work together but aren't sequential. One on dialogue, one on inventory, turn-based battling, etc. Let me know if that's something you'd be interested in.
Hope you enjoy!
Have a look at this thread: https://www.reddit.com/r/godot/comments/bcb3sg/grid_based_movement_solved/
My comments and suggestions for that code apply to yours as well. You are creating member variables for values that may only be changed in very specific moments and that don't have a meaning at all times. That means that it's now possible to create several different invalid states that the compiler (or in this case the linter) can't find, which is a source for bugs.
If you want to express that there is a process that the player can start but can't modify once it has started you should use animations, tweens or coroutines.
Nice! I've followed your tutorials for the Zelda engine (up to the HUD episode, so far) and I've done decently well. Just wanted to give my thanks, mate! :D