Unity Tutorial 06
In the first lesson of the Unity tutorial series we started to create basic game play for this project. The first step was to open the project and to change the background. For these side scrolling game types it is important to have scrolling/repeating backgrounds to give the best effect. Next we chose our character and refined the settings. Next we made a script in order to make the character jump by pressing space bar. We also tweaked the gravity and jump settings. We also added a spawn manager to make obstacles spawn at different intervals.
After completing the repeat background the next step was to add some script to end the game. We done this by adding a colider to the character and the obstacles. When the game is over the game restarts by moving the player back. A script to destroy the obstacles after they go through the scene is added also.
In the next lesson we added more refinement to the game. We added a jump animation and a fall animation to make the jump look more smooth. We also made the player start the game at running speed.
Image Info:
Screenshot from unity website: https://learn.unity.com/tutorial/lesson-3-3-don-t-just-stand-there?courseId=5cf96c41edbc2a2ca6e8810f&projectId=5cf9639bedbc2a2b1fe1e848