Forum rules - please read before posting.

Change player sprite after a puzzle

Hello, I would like to know if it is possible to change a character's sprites after solving a puzzle. For example, before the puzzle, the main character has a mustach (idle, walking, talking etc)
The idea is that after solving the puzzle, the character no longer has his mustache. Should I create a new version of the playable character, as if it were a second playable character?

Comments

  • That would be one way to do it, yes.

    Is the mustache its own sprite, or is each frame of the character a single sprite?

    If your character relies on Sprites Unity for their animation, you can also add an alternative set of standard animations (e.g. NoMustache_Idle_D, NoMustache_Walk_R etc, and then use the Character: Animate Action's Set Standard method to use these animations instead.

    If you use multiple sprites, you can alternatively use a new layer in your Animator that shows/hides the mustache based on a Bool parameter, and then control that parameter's value with the Character: Animate Action's Set Parameter Value option.

  • Thanks for the reply. My character only has one sprite (the mustache is directly drawn on the same sprite).
    I'll try the first method

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.