character select

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Themaker482
:warning: Old Version Published before Godot 3 was released.

Hi I am looking for a way to create a character selector, do you know how can I do that, i cant solve it, thanks

You may want to start by telling us more precisely what your problem is. Also what is your character selector supposed to look like?
If you just want any character selector then you could simply create a scene with four buttons with the names of the characters on it.

Warlaan | 2016-06-06 08:01

:bust_in_silhouette: Reply From: Vincent Scalia

Probably the best way to do this would be a state machine. A node would record use of the left or right arrow keys to increment or decrement variable. This variable would define what character is selected. A display could toggle between different textures to show which character is active. Then, all you have to do is pop that same variable into your sceneLoad.gd (or whatever you’ve named it) and fire up another node to pull a new character based on that value. Really simple actually. If you would like, i can make a demo for you next week, but i’d rather not. :confused:

Hope this works out for you-

–vincent

thanks, that is really helpful, I can do that :smiley:

Themaker482 | 2016-06-06 15:20

Can you made the demo for me, please?

Master | 2019-03-21 20:31