In this short series, you’ll learn to code a top-down character’s movement.
You’ll learn to change the character’s texture based on the player’s input direction and how to make it collide with walls.
We’ll explore two movement types:
This is an example of four-way movement.
You will learn:
We’ll build upon what you learned in an earlier project, To Space and Beyond!
In the next video, we’ll set up the character’s scene.
To get started, open the project “Learn to Code with Godot:
Practices” in Godot and, in the FileSystem dock, expand the
TopDownMovement
directory. We will create a scene together.
See you in the lesson!