Book Image

Unity Game Development Blueprints

By : John P. Doran
Book Image

Unity Game Development Blueprints

By: John P. Doran

Overview of this book

Table of Contents (16 chapters)
Unity Game Development Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Tile-based level creation


While our previous game worked by only needing to spawn enemies in the world, for most games with content, you'll typically have levels, each with its own environment. When building levels in games, there are some advantages to placing everything by hand, but if you're creating a game with many levels, that work will decrease your productivity. It's also important to note that the more assets you create for your game, the higher the cost.

With that in mind, it's a much better idea to create parts that can be reused to create games. If you've played older 2D games in the past, such as an adventure, RPG, or platforming games, you may have realized that there were a lot of places in the worlds that looked similar to each other, such as the trees, a wall, a chest, door, and so forth.

The reason they looked similar is due to the fact that they were using the same sprites. This is because they were truly tile-based games. A tile-based game is where the playing area consists...