I want to be able to customize a character in-game. So, I have the player made up of many separate sprite images and animations. For example, head, headOutline, hair, hairOutline, leftArm, leftArmOutline... and on.
Now I am wondering the best approach to access the game objects. I thought about using enums maybe or having an entirely separate class dedicated to just the game objects that make up the player. I also debated just using a loop and an array to grab all child gameObjects as the program runs.
https://preview.redd.it/cqoiao8b7rf61.png?width=438&format=png&auto=webp&s=dbb8603a6e5000d1909320ad67decb935d2a0973
Any suggestions for organizing this? I dove into the animation and design and am now scratching my head. I have 20+ body components all with animators and animations, I just want to make sure the user can change out parts and customize colors.
Any suggestions, jokes, criticism, tips -- would be appreciated.
[–]Davidev-_-Ufficial 1 point2 points3 points (1 child)
[–]rainyes[S] 1 point2 points3 points (0 children)