We’ve got the core mechanics of this game figured out: The player can tap the spacebar to jump over incoming obstacles. However, the player appears to be running for the first few seconds, but then the background just disappears! In order to fix this, we need to repeat the background seamlessly to make it look like the world is rushing by! We also need the game to halt when the player collides with an obstacle, stopping the background from repeating and stopping the obstacles from spawning. Lastly, we must destroy any obstacles that get past the player.
Select your Unity version
Last updated: April 21, 2020
Learn to code by making a game. Gain the skills to become Unity Certified.Learn More
Week 4 | Session 2 - Control the Background - April 14, 2020