>|
Summary
Having a well-made character is one of the most important components of a 2D platformer. For these lessons, we will create our player scene, animations, and movement code.
1|
The Player Scene
For this lesson we will set up the collection of nodes that make up our player. The grouped nodes will be saved as a scene. By the end of this lesson we should have a 2D character with basic movement.
2|
Player Input
For this lesson we are going to take a look at the player.gd script, learn some basic scripting and add more options for player input. By the end of this lesson we should be more familiar with how to edit scripts and have a character that can accept more inputs.
3|
Character Animations
In this lesson we will be adding all of the different animations for our player character. This will include idle, running, jumping, falling, and wall hanging animations.
4|
Animations With Scripting
For this lesson we will be adding our idle, running, jumping, and falling animations to our player character. We will need to handle these animations with code and ensure that we are only trying to play one at a time.
5|
Double Jumping
In this lesson, we are going to make our player character’s jumping even better with more scripting. We will introduce a varied jump height and add the ability to double jump.