Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning C# by Developing Games with Unity 5.x

You're reading from   Learning C# by Developing Games with Unity 5.x Develop your first interactive 2D platformer game by learning the fundamentals of C#

Arrow left icon
Product type Paperback
Published in Mar 2016
Publisher Packt
ISBN-13 9781785287596
Length 230 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (15) Chapters Close

Preface 1. Discovering Your Hidden Scripting Skills and Getting Your Environment Ready 2. Introducing the Building Blocks for Unity Scripts FREE CHAPTER 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 — What Next? Index

The idea


I have a very simple but fun idea in my mind for our first game—a very childish but fun 2D platform game:

This is Jake, an alien who recently passed his flying license. Jake's parents were very proud of him until, for unknown reasons, he crashed into one of the faraway little planet. He lost most of his ship's batteries and needs to get new ones. You will help him get the batteries so that he can fly back home. It will be an awesome adventure. We will collect anything valuable to sell and avoid the dangers of the mysterious planet. Let's call the game Jake on the mysterious planet.

I hope you like the idea. It is very simple as we have limited time. We will use most of the assets from http://kenney.nl/. They kindly agreed to contribute to this book.

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.

Jake on the mysterious planet will...

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 $19.99/month. Cancel anytime
Banner background image