4/11/2021 0 Comments Unity For 2D
Preview Pose simply is for when we want to test our rig by posing the character.Now, in the latter part of the 20th-century to the present time, 2D animation is a huge part of video games with thousands of games using characters and environments solely constrained to two dimensions.
I personally like the look of a 2D game more than its 3D counterpart. Unity For 2D How To Take AIn this tutorial, you will learn how to take a 2D character, rig it, and use it in your own 2D game. You will learn Unitys sprite rigging system, along with how to use the Unity Animator for 2D characters. No previous knowledge of the Unity Animator will be necessary, however, I suggest you check out our Unity Animator Tutorial Comprehensive Guide tutorial, which goes more in-depth with the Unity Animator. Some experience of Unity itself (how to navigate, how to toggle the 2D and 3D view, how to import assets, etc.) is going to be necessary, however. This is a character from kenney.nl. I separated the limbs and head in photoshop as separate layers, then I exported it as a.PSB file. You can do the same thing to characters you want to use. Importing the packages Create a new Unity 2D project and then go to Window - Package Manager. Here we need to import the 2D Animation, 2D IK, and 2D PSD Importer packages. If you cannot see these packages, then you need to click Advanced and then Show Preview Packages. The 2D Animation package is where we will get the sprite rigging tools, 2D IK will help us in animation, and 2D PSD Importer will recognize our.PSB file and each individual character layer. Once these are done downloading, we are now ready to import our character Importing the Character Open up the assets folder and drag the Adventurer folder into the project tab. Now, we need to configure a few things in the import settings. Change the Sprite Mode to Multiple; this will tell the Unity Editor that there is more than one sprite in this file and that we would like to use them. It will also recognize each limb layer in the.PSB file. The final thing we need to do here is to check Character Rig. This simply tells the Unity Editor that we are going to be rigging this sprite. This will open up the Sprite Editor and, as you can see, it has taken each layer in the.PSB file and sliced it into its own box. Here we can tweak the sliced sprites if we see anything that isnt quite right. It all looks good, however, so we can move onto rigging our sprite Rigging the Character Go from the Sprite Editor to the Skinning Editor. Here, we will create the armature that we will use to pose our character. On the left side of the editor, you will see a list of buttons.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |