• Sunday , 27 May 2018

## Simple Top-Down character movement in Godot: Grid-based movement 1/4

https://i.ytimg.com/vi/BWBD3i00AfM/hqdefault.jpg

Learn to implement a top-down character’s movement, first in 4 and then in 8 directions!
The Kickstarter: https://kck.st/2q8BEGb
—-
New tutorial every day until June 22! 09/30
The sources on Github: https://github.com/GDquest/Godot-30-days-tutorial-challenge-2017

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

source

## Related Posts

1. ##### Koopy_VS_world
July 18, 2017 at 02:39

What does that yellow pass do At The Bottom your functions?

2. ##### Oldupai Gorge
July 18, 2017 at 02:39

These videos are the best.
Why do you use the delta for calculate the velocity?
velocity = speed * direction.normalized() * delta
if you do that you have magnitude*direction* time , that mean (m/s)*s that give you meters, but you need m/s. Can you explain this please 😀
delta is processor time right?

3. ##### LATEXXJUGGERNUT
July 18, 2017 at 02:39

Exactly what I need!

4. ##### Hookflash
July 18, 2017 at 02:39

Calling Input.is_action_pressed twice for each movement key seems like a really inelegant way of doing things. It might not be a big deal in a small bit of code like this, but these sorts of bad habits will create headaches down the road.

5. ##### ColdBlueLight
July 18, 2017 at 02:39

i'm not moving at all i have been trying to debug this got any hints also the player file on git hub is mostly empty don't know if its supposed to be or not anyway thanks for the awesome videos!

6. ##### Никита Гончарук
July 18, 2017 at 02:39

4:25 Is there in Godot something like switch-case? Or there is a reason why you using elseif?

7. ##### ιʍρøcκε†
July 18, 2017 at 02:39

it says: "Parser Error: Identifier not found: velocity" what can I do?

8. ##### Michel Veloso
July 18, 2017 at 02:39

I'd love to buy Craftman's Bundle on kickstart, but I'm from Brazil, so Euro is so expensive to convert to Real (Brazil's
National currency). =/

9. ##### Michel Veloso
July 18, 2017 at 02:39

How!! I love your code's patern! Great job! =D

10. ##### OLAN LEE
July 18, 2017 at 02:39

hola master hay alguna posibilidad de que ponga subtitulos en español?