Basic Level Blocking


For the basic level blocking checkpoint, I created one basic level layout of the walking level and one basic level layout of the motorbike level. I used nature pixel art assets from the unity store and create a ground tilemap by myself. 

In the walking level, I use the tile palette from the unity store to create a simple game world. This scene has two tilemap: gameworld and background. For the gameworld tilemap, it includes some platforms, gaps and slopes. 



Colliders are added to those ground objects so that the player can only collide with the ground and not the background and background objects. I also did some testing in this level, like tried to find out what's the maximum gap that the player can step over with the jump movement. Once the basic layout was finished, I added some background objects throughout the level. To do this I also use the nature tilemap from the unity store. Finally, a destination flag is used to tell players that they have successfully passed this level. The player walking level can be seen in the screenshot below:


In the motorcycle level, I also use the tile palette from the unity store to create the game world. The same methods are used as above to create the gameworld except for the background. Because the distance that the player travel at the motorbike level is much longer than walking level, using tilemap to paint the background may not be efficient. I followed Dani's tutorial on Youtube to create an infinite scrolling background. The basic idea of this method is to attach background sprites as a child of the main camera and then make the background scroll again and again if the player moves outside the bonds. Following gif shows how this method behaves:



Since this is a motorbike racing game, no enemies will appear in this game. However, I created various objects to make this game more interesting. For example, stones on the ground can make the road uneven to increase some driving difficulty. Following gif shows how barries work in this game:


Moreover, different road surfaces will also appear in this game. Different road surfaces will have different frictions, which will also make this game more interesing. If players want to go through a mud road, the motorbike must have a faster speed than the normal grass surface. 

Reference:

Link to the nature pixel art assets:

https://assetstore.unity.com/packages/2d/environments/nature-pixel-art-base-asse...

Link to Dani's infinite background tutorial:

Leave a comment

Log in with itch.io to leave a comment.