Building Our Sprites

With our assets set to draw in 2D, we can now make a few more adjustments to set them to the best quality we can get. Seeing as our game is based around our Player GameObject, this would be the best place to start. Having the main GameObject set correctly will help ensure that we are building the rest of our game elements the right way.

1. Open the 2D_Platform_Game and load the Test_Level Unity Scene.

2. Select the Player GameObject from the Hierarchy.

3. In the Inspector, click the small target icon to the right of the p1_stand reference name. The p1_stand is a single sprite. While this would work for some instances, we should use a sprite sheet for our player.

4. Select the p1_spritesheet atlas directly above our current ...

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation 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.