IGM : How do I Select Character into the Game.

Hi every body! 🤣

i'm newbie for IG Maker. I have some question to ask in this Topic.

First, I have 3 Main Characters can be selected. (Sample : "Final Fight" see below). I created a display screen " Character Select" and "Stage 1".

My question is how can i  Link Character (be Selected) in Screen " Character Select" for use into the game in "Stage 1"?

I've tried but not work! and I get confused. :headshake:   If someone knows, please tell me.

Thank you. 

[IMG]http://www.gamefabrique.com/storage/screenshots/snes/final-fight-2-03.png[/IMG]
Hi Gmzeroone!

Sorry for the late reply!

You can use a memory value to link a character select screen with the appearance of your player character.

First, create a memory and call it something you can remember (ex. Character) and decide which values will correlate with each of your playable characters. I would use 1, 2, and 3 as my characters (I usually save 0 as a placeholder for no data, but you could use it as your first character if you prefer).

Next, set your character select screen to change that memory's value based on which character the player selects. If you are using a gadget in your select screen, set up the gadget's action program:

Switch memories → Character (or whatever you named your memory) → Switch memories → 1 (or whatever value corresponds to that character).

You could also accomplish the same thing by using the menu system, but it's a little more complicated to explain. Reply back if you'd like more info.

Finally, set your Player gadget to check your Character memory's value at startup then change its appearance accordingly. The simplest way to do this is to have an action program with an invisible graphic (let's call it Check Character or something) set as The First Action Program (Emergence Settings tab).

From there, create 3 action programs as idle states for your 3 characters. Using the Final Fight screen you posted, I would make Haggar Idle, Maki Idle, and Carlos Idle. Now make your Check Character action switch to one of those idle states based on the Character memory's value. For example, Check Character →(The designated memory's value changed. Character == 1)→ Haggar Idle.

Obviously the above method means that you will be building 3 different characters within one gadget, which will definitely be a bit frustrating, but ultimately the simplest to understand. You could also make your characters as each separate gadgets, then either use an Item to make them Slaves to the Player gadget, or you could try to 'shoot' them as 'Projectiles.' Both of these methods are a little trickier, but it means you get 3 unique character gadgets instead of one massive Player gadget.

Let me know if you need anything clarified or you need more help. Good luck!
Wow.. Your answer is very helpful for me. I will try.

Thank You. 😀

Original thread: https://forums.rpgmakerweb.com/threads/igm-how-do-i-select-character-into-the-game.42536/