© Jared Halpern 2019
Jared HalpernDeveloping 2D Games with Unity https://doi.org/10.1007/978-1-4842-3772-4_4

4. World Building

Jared Halpern1 
(1)
New York, NY, USA
 

Now that we’ve learned how to create basic character animations and change the state between them, it’s time to create a world for these characters to inhabit. Two-dimensional (2D) worlds are often created by placing a series of tiles together to paint a background, then placing other tiles on top of that background to create the illusion of depth. These tiles are really just sprites that have been segmented or “sliced” into convenient dimensions and usually placed using a Tile Palette. The designer or developer can build up multiple layers of these Tilemaps to create effects such as trees, ...

Get Developing 2D Games with Unity: Independent Game Programming with C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.