![]() ![]() ![]() Select the Platform Sprite Shape and look at the Inspector this is where you change all the settings for the profile. To create a Sprite Shape Profile, navigate to the Sprite Shapes folder and select Assets ► Create ► Sprite Shape Profile ► Open Shape. ![]() Within this asset, you will assign the sprites you wish to use and tell Sprite Shape how to render them.įirst, you are going to create all the different Sprite Shape Profiles, then you will go into the scene and add them to the scene. Creating the Sprite Shape ProfileĪ Sprite Shape Profile is an asset that configures all the options for a particular type of shape. You will see an empty blue sky that you will fill with beautiful Sprite Shapes. Open the MainScene in the Scenes folder, and look at the Game view. In the Package Manager, select Advanced ► Show preview packages and install the 2D SpriteShape package. To do this, select Window ► Package Manager from the top menu. Sprites: Contains all the premade sprites for the player, enemies and environment.īefore you begin using Sprite Shapes, you have to install it from the Package Manager.Sprite Shapes: Currently an empty folder where you will create new Sprite Shapes.Sounds: Contains all the sounds used within the game.Scripts: Contains all the scripts required for the player, camera, SFX and game management.Scenes: This contains the main game scene.Prefabs: Currently contains the player, enemy and flag.Physics Materials: Contains a high friction physics material for the Player.Animations: Contains all the animations and animation controllers for the enemy and player. ![]() With the project loaded, open the RW folder using the Project window, then observe the folder structure: Once downloaded, extract the files and open the Introduction to Sprite Shapes Starter project in Unity. You can do that by clicking one of the Download Materials buttons at the top or bottom of this tutorial. Now that you have Unity, you need to download the sample project. If you haven’t played around with 2D before, check out this great Introduction to 2D tutorial. You will also need to know the basics of how to work in a 2D environment. You’ll need a copy of Unity 2019.1 (or newer) installed on your machine to follow along. If you’re new to Unity development, check out this great Getting Started in Unity tutorial. Note: This tutorial assumes that you know the basics of Unity development. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |