So the most simple solution that I got working was to just make different animations for both character variations and stick it all in the same animator controller.
Then before animating him I'll check the month variable and then branch it to the…
Thanks @ChrisIceBox !!
A few questions though..
1. Am I supposed to attach the santaAnimator to the npc's sprite child? I can't seem to attach 2 animators in the same gameobject (wouldn't this be a case of using an animator override controller?)…
Wow this is amazing @Rairun !!! Thank you so much!!
So, newbie question... when you tell me to change the number of the global variable on the script you mean the variable id? And if so.. do I replace this 0 on the script with the variable id?
…
I was wondering if I can solve this by duplicating each scene he appears... this way I would have something like scene1/scene1b, scene 2/scene2b.
Then I modify scene1b, scene2b etc. by replacing the gameobject normalSimon with santaSimon.
Then to …
Oh interesting @ChrisIceBox !
Well, the npc appears in 2 scenes.
The global variable involved is called "month" and is a string variable.
The name of the animator base layer is "normalSimon" and the sublayer is "santaSim…
Maybe I could make him a player but constrain his movement for the most part of the game so when it moves would be indirectly through actions in cutscenes (like move to point)? That would solve a lot of issues.. is that doable?
Thanks for the quick response @ChrisIceBox
I think I follow you.. but sorry I didn't made it very clear.. the character is a NPC.. not a player..
Can I do the same things with him being a NPC?
My game has no player.. it's supposed to be a 2d f…
Another solution I thought is to have 2 different gameobjects for the character (one for the normal one - visible in the scene - and one for the santa claus - hidden offscreen). Then, if the month variable is 12 I simply teleport the santa claus to …
Hey guys! Sorry to bother again with another noob question. What is still not clear to me is.. if I choose to make an Unity UI.. do I have to programm all the logic behind it or can I rely on AC's UI logic and use the canvas just for the looks of it?
Thank you Chris!! And congrats, AC is an amazing feature! For a long time I wanted to make a game, but never thought it was possible and AC is making it come true!