Create 2D Sprite GameObject
Last updated
Last updated
To create our first GameObjects, we'll start by adding a standard 2D Sprite GameObject to the current scene. See Unity Manual 2D Sprites
Let's start by going to the link below to download a zip file of some free sprites sheets that we'll use in Project1 for our animated player. (Can be used as placeholders if you want to use other sprites later) GameArt2D.com
Create a new folder "Sprites" in the Assets Panel at the bottom of the Unity Editor, see image below.
Unzip the downloaded file and select all sprites in the Idle section and drag the sprites into the Assets > Sprites folder.
The images below show that the sprite should have 2 adjacent images displayed in the Sprites folder. When the sprite is selected, notice the Inspector panel shows that the Texture Type is Sprite (2D UI). Make sure this is selected and that your sprite can be expanded as shown below.
You can drag the sprite from the Sprites folder into the Scene Panel. Select the GameObject in the Hierarchy Panel and rename it to Player. We'll use this as a placeholder for the player gameObject.