Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning C# 7 By Developing Games with Unity 2017

You're reading from   Learning C# 7 By Developing Games with Unity 2017 Learn C# Programming by building fun and interactive games with Unity

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher Packt
ISBN-13 9781788478922
Length 290 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Micael DaGraça Micael DaGraça
Author Profile Icon Micael DaGraça
Micael DaGraça
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Discovering Your Hidden Scripting Skills and Getting Your Environment Ready FREE CHAPTER 2. Introducing the Building Blocks for Unity Scripts 3. Getting into the Details of Variables 4. Getting into the Details of Methods 5. Lists, Arrays, and Dictionaries 6. Loops 7. Object, a Container with Variables and Methods 8. Let's Make a Game! – from Idea to Development 9. Starting Your First Game 10. Writing GameManager 11. The Game Level 12. The User Interface 13. Collectables 14. Enemies 15. Audio, 3D Games, and Export

Game mechanics and core components


I want this game to be as simple as possible so that we can complete it in the next few chapters. We will create a lot of scripts, prefabs, and possibly some assets too.

The main mechanics of the game will be as follows:

  • The movement of the playable character (run forward, backward, and jump)
  • Checkpoints
  • Collectable coins
  • Obstacles (we could animate some of them)

In most cases, when you have your own idea for a game, you will have a vision in your mind. You will know what sort of feel and gameplay you want to achieve. However, you won't know the tiny parts of the game and how they will work together to create the game you want. This is why planning is so important. Developing the game starts in your head, and then you have to create the documentation for your idea–even if the game is as simple as Jake on the mysterious planet. Don't be scared! You may not have to document the complete idea first, but trust me! It's worthwhile to have as much as you can written...

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 €18.99/month. Cancel anytime