Starting from this chapter, and continuing in the next two, we will work on our first project. It is a Platformer game that resembles the original Mario game.
In this chapter our objective is to create a character that will move on a platform across the x-axis. We can achieve this by using the player input. Now, let's continue from where we stopped. We should have a game object named
p1_front, now we can rename it as
Player. As a result, your scene should look like the following:
However, our character is now floating in the middle of nowhere. Therefore, adding some ground for him to move on is a good start. To ...