Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Unity 5.x 2D Game Development Blueprints

You're reading from   Unity 5.x 2D Game Development Blueprints Explore the features of Unity 5 for 2D game development by building three amazing game projects

Arrow left icon
Product type Paperback
Published in Sep 2016
Publisher Packt
ISBN-13 9781784393106
Length 252 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
 Sapio Sapio
Author Profile Icon Sapio
Sapio
Abdelrahman Elsayegh Abdelrahman Elsayegh
Author Profile Icon Abdelrahman Elsayegh
Abdelrahman Elsayegh
Arrow right icon
View More author details
Toc

Chapter 8.  User Interface for the Tower Defense Game

In Tower Defense games, the User Interface (UI) often provides a way for the player to interact with the game. Through the UI, it is possible to build, sell, or upgrade towers. Furthermore, the UI is also important to visualize stats such as money and lives.

Since this is a big topic, we will not have enough time to cover everything here. However, we will see all the basics we need to implement our UI by recapping and extending the ideas seen in Chapter 4 , Level Design. Some suggestions on how to implement it will be given later in the chapter as well.

Lastly, you should definitely consider buying a book that is specifically about UIs. For instance, the Unity UI Cookbook, Packt Publishing, has a perfect set of recipes ready to use. There you will find all the concepts treated here in more depth, and much more.

In this chapter, we will learn how to implement the UI for our Tower Defense game by looking specifically at:

  • Creating a lives...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images