Runner, a Unity C# Tutorial
In this tutorial we'll create a very simple endless running game. You'll learn to generate a layered background; reuse objects; use simple physics; detect input to make the player jump; implement a power-up; write a small event manager; switch stuff on and off on demand; make a minimal GUI. You're assumed to know your way around Unity's editor and know the basics of creating C# scripts. If you've completed the Clock tutorial you're good to go. The Graphs tutorial is useful too, but not necessary. Note that I will often omit chunks of code that have remained the same, only new code is shown. This tutorial is quite old. Game Design Before we get started, we should make some decisions about what we put in the game. For gameplay, we'll have a runner who dashes towards the right of the screen. For graphics, we'll simply use cubes and standard particle systems. There won't be any sound or music. Setting the Scene Open a new project without any packages. Running Generating a Skyline This works!