Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Paperdolling Question

Discussion in '2D' started by jaekx, Oct 17, 2015.

  1. jaekx

    jaekx

    Joined:
    Dec 15, 2014
    Posts:
    27
    Ive implemented a character creation screen which gives players the ability to choose from 1 of 5 male hair style or 1 of 5 female hairstyles - it also has 4 eye colors and 4 skin colors. I've been using the player sprite as the sprite that contains the skin, I put a new sprite ontop of that one for hair and a new sprite that contains eyes as well.

    Is this the best way to handle this? I planned on doing the same for armor and weapons also... Is there a better way of handling this? This means ill have to animate the hair and eyes to follow the body as it goes through its animations as well doesnt it? Thanks for any input!

    If you need current code just request - its kind of long.
     
  2. Unexpected_Persona

    Unexpected_Persona

    Joined:
    Jul 23, 2015
    Posts:
    9
    If you're using a rigging system instead of a sprite sheet and have the hair, eyes, armor, etc. as children of the main character sprite, they should maintain the same location relative to the primary sprite unless modified inside of an animation.
     
  3. jaekx

    jaekx

    Joined:
    Dec 15, 2014
    Posts:
    27
    Yeah the animation changes the location of the player, he crouches and becomes airborne during his run animation. My question was more so focused on, is this the BEST method of handling paperdolling? Thanks for the response!