June 2018
Beginner to intermediate
298 pages
7h 38m
English
At this point, it would be a good idea to test out the movement and make sure everything is working. You can't just run the player scene though, because the player will just start falling without a surface to stand on.
Create a new scene and add a Node called Main (later, this will become your real main scene). Add an instance of the Player, then add a StaticBody2D with a rectangular CollisionShape2D. Stretch the collision shape horizontally so that it's wide enough to walk back and forth on (like a platform) and place it below the character:

Press Play Scene and you should see the player stop falling and run the idle animation ...
Read now
Unlock full access