How to Make a 2D Character Creator in Unity

Описание к видео How to Make a 2D Character Creator in Unity

LINKS
Project Files: https://github.com/tutmo/2D-Character...
Unity Documentation: https://docs.unity3d.com/ScriptRefere...

SUMMARY
This 2D character creator can be expanded to include a virtually infinite number of body parts and options to fit your own Unity games. The player can select any combination they choose, then click play to begin their adventure. Also, in the overworld scene, there's a mini version of the character creator to show how all animations can be updated in real time. This might be useful to anyone working on an inventory system with equipable armor or items.

STEPS
1. Create animations for each body part.
2. Make a parent game object with an Animator attached.
3. For each body part, make a child game object with a Sprite Renderer attached.
4. Add layers in the animator for each body part.
5. Use Scriptable Objects to store animations for each body part.
6. Write a script to select body parts.
7. Write a script to update body parts using an animator override controller.

🎮 Games We Made: https://tutmo.itch.io/

❤️ Subscribe: https://bit.ly/2XOcUXm

😎 Join the Discussion!
● Discord:   / discord  
● Twitter:   / tutmoyt  
● Instagram:   / tutmobuffet  

Video Content
0:00​ - Intro
0:49​ - Layered Animations
1:20​ - GameObjects for Layered Animations
1:45​ - Animator Layers
2:41​ - Scriptable Objects
3:34​ - C# Script to Select Body Parts
5:15​ - C# Script to Update Animations
7:40 - Final Product

Комментарии

Информация по комментариям в разработке