Chapter 3. GUIs Part 2 – Clicker Game

In Chapter 2, Creating GUIs, we've seen how we can use Unity's powerful UI system to create something to complement a game title, but it's also possible for people to create entire games using only the UI interface.

Project overview

Over the course of this chapter, we will be creating a clicker game named Code Clicker. Code Clicker will be similar in some respects to the popular clicker title Cookie Clicker created by Orteil (playable at http://orteil.dashnet.org/cookieclicker/) except instead of clicking cookies, we will be clicking a button to write code. We'll also get exposure to how to create more complex menus, such as those with a scrollbar.

Your objectives

This project will be split into a number of tasks. It will be a simple step-by-step process from beginning to end. Here is the outline of our tasks:

  • Starting our project
  • Recording clicks
  • Creating a shop
  • Purchasing upgrades

Prerequisites

We will need some graphical assets for use in our project. These can be downloaded from the example code provided for this book on the Packt website.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset