Book Image

Unity 2017 2D Game Development Projects

By : Francesco Sapio, Lauren S. Ferro
Book Image

Unity 2017 2D Game Development Projects

By: Francesco Sapio, Lauren S. Ferro

Overview of this book

<p>2D games are everywhere! Timeless and popular, 2D games represent a substantial segment of the games market. The Unity engine has revolutionized the gaming industry, by making it easier for game developers to create quality games on a budget. If you are looking for a guide to create 2D games using Unity 2017, look no further. With this book, you will learn all the essentials of 2D game development by creating three epic games in a step-by-step manner throughout the course of this book. </p><p> </p><p>The first game will have you collecting as many cakes as possible. The second will transport you to outer space to traverse as far as possible while avoiding enemy spaceships. The last game will have you running and jumping across platforms to collect coins and other exotic items. </p><p> </p><p>Throughout all these three games, you will create characters, make them move, and create some enemies. And then, of course, write code to destroy them!. After showing you the necessities of creating a game, this book will then help you to porting the game to a mobile platform, and provide a path to publish it on the stores. </p><p> </p><p>By the end of this book, you will not only have created three complete great games, but be able to apply your knowledge to create and deploy your own games.</p>
Table of Contents (14 chapters)

Atoms of games

We can think of game designers like chemists, except chemists that create mixtures of entertainment, emotionally driven narratives, and exciting experiences. If you think back to chemistry in high school, we all learned that some things make smoke, other things make bubbles, and a few things when combined make explosions; games work in a similar way, just with different substances (for example, game elements and mechanics).

When it comes to the distinction between these substances, namely game elements, and mechanics, there are many interpretations of what they are and what they are made up of. For the purpose of this book, when a player performs an action, they are likely to get something. This could range from a Badge, Point(s), Levels, or part of a Story. The "thing" that the player gets is what we will define as a "game element". Of course, there are many different examples of and perspectives on what game elements are, but for the purposes of this book, this will be our definition.

On the other hand, since game elements are the outcome, then the process of how we get them is what we will define as game mechanics. This could be anything from trading with other players, exploring mysterious worlds, and even Winning or Losing. Performing or engaging in these actions will result in obtaining game elements.

When you're playing games, think about things that you are receiving during gameplay and how you get them. By being a bit more conscious during your own experiences and reflecting on them, you not only develop an awareness of the "reactions" that certain game elements and mechanics afford, it also provides you with a way to consider implementing these into your own games. As a result, you will learn how different combinations create different outcomes.