How do you make the sprite of a character change depending on an option?

kaitoes

Villager
Member
Joined
Jul 26, 2021
Messages
16
Reaction score
3
First Language
English
Primarily Uses
RMMV
The basis is that I'm trying to make the main character sprite change depending on the gender. How should I begin with this... all I can think of is duplicating the entire game
 

HexMozart88

The Master of Random Garbage
Veteran
Joined
May 15, 2016
Messages
2,042
Reaction score
3,700
First Language
English
Primarily Uses
RMVXA
all I can think of is duplicating the entire game
Uh... that's a little extreme, LOL.

After you show the options, there's a "change actor graphic" command. Click on that, and change it depending on which option the player chooses.
 

kaitoes

Villager
Member
Joined
Jul 26, 2021
Messages
16
Reaction score
3
First Language
English
Primarily Uses
RMMV
Uh... that's a little extreme, LOL.

After you show the options, there's a "change actor graphic" command. Click on that, and change it depending on which option the player chooses.
Whaaaaaaaaat. Thanks!!!
 

RePeat

Villager
Member
Joined
Jul 24, 2021
Messages
26
Reaction score
6
First Language
German
Primarily Uses
RMMV
Just in case, I'd like to add that the sprite change is the easy part. As far as I know textbox portraits can only be handpicked so if you have two versions of the same character and still want the correct portraits you need to go back to every dialogue of that character and put it in an "if" sentence. With a variable you can make something like:

* if player male=1
> line of dialogue with male character's picture

* else
> line of dialogue with female character's picture
 

kaitoes

Villager
Member
Joined
Jul 26, 2021
Messages
16
Reaction score
3
First Language
English
Primarily Uses
RMMV
Just in case, I'd like to add that the sprite change is the easy part. As far as I know textbox portraits can only be handpicked so if you have two versions of the same character and still want the correct portraits you need to go back to every dialogue of that character and put it in an "if" sentence. With a variable you can make something like:

* if player male=1
> line of dialogue with male character's picture

* else
> line of dialogue with female character's picture
Haha I figured something like that would happen. I'm just planning on not giving the protagonist any face box. :kaophew:
 

Latest Threads

Latest Posts

Latest Profile Posts

Changed my avatar, goodbye Alan Sugar, hello George Carlin (one of my favorite human beings ever)
If you still don't subscribe our Polish channel please consider it :)
1.png
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.
A lot to learn to make a game. Can I handle it?
I've been working on status effects since last thursday, and today I finished the core mechanic of Zombie, Teleport, Curse and Recall. Zombie and Curse are lacking a few things to make them complete atm. Teleport though is the "HAHA" spell for some of my mobs, but can "NOPE" at them with Recall.

Forum statistics

Threads
115,171
Messages
1,087,797
Members
149,718
Latest member
MadAtticProductions
Top