Make a game: Coin Collector
In this tutorial you build a complete game. The player runs around an arena collecting coins before the timer runs out. Collecting enough coins wins the level and starts the next one; running out of time returns to the menu. The game has a main menu, a pause menu and two levels, and the last page builds it into a game you can share.
It picks up where Get Started ends. Each page builds on the one before it.
| Page | What you add |
|---|---|
| Build the level | The project, and an arena to play in |
| Make a coin | A spinning coin, made once and placed five times |
| Move the player | A player you move with the keyboard or a gamepad, who collects coins |
| Timer, goal and pause | The level's rules in an asset of their own, a HUD and a pause menu |
| Menu and a second level | A main menu, and a level that follows the first |
| Build the game | A build that holds every level |
You also need one short sound file for when the player picks up a coin.