How would I make player character consistent between scenes if there are several playable characters?
I have an idea for a game where you'd be in a town where every character would be playable, and they'd have different stats which would be used to solve puzzles.
I'm not going to make anything now before the beta ends, but just hypothetically: if I have 30 playable characters, how would I make it so that if I leave one scene as one character, I would enter the next scene as the same character?
-
You have 1 playable character but switch skins (like eg Shifting Islands changes hats) based on a variable you pass through between scenes.
If you want to have different animations that could be tricky.. -
Thanks! I'm not familiar with Shifting Islands, could you maybe explain how skin switching works?
-
you basically need some logic - so maybe a selector - and you attach the output of each to the 'visibility' of an object. So then you can switch between making one object visible, and the rest invisible
I think the shifting islands person made the character remixable so you could take a look how its done. -
Couldn't you just store the chosen character via the variable gadget and use a ln emitter at each entrance which spawns a character based on the variable stored?
-
Have a Variable called 'Townsperson', and include a variable modifier on each Characters chip that sets Townsperson to a number between 1 and 30 when they're possessed. Have that Variable 'Persistent in Dreams' then in every scene you have no characters pre-spawned and use a Selector driven by your variable to spawn the one they last activated
댓글을 남기려면 로그인하세요.