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,100
Reaction score
3,881
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

Veteran
Veteran
Joined
Jul 24, 2021
Messages
31
Reaction score
10
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 Profile Posts

Posted some halloween freebies! Grab them while on season :kaopride:
hallow_cat.png
So my birthday was about a week ago! Just forgot to post it. I went to a Golden Corral, and it was soooooo good! :kaojoy: I also got some Animal Crossing in my life! Yay, Animal Crossing!
At this point, "unique and diverse cast of characters" might as well be slang for Every Character is a Human-Sue.
I found an absolutely brilliant lifehack on the internet today.

Screenshot_760.jpg

Forum statistics

Threads
116,141
Messages
1,096,121
Members
151,569
Latest member
mikmak
Top