Use the hide command to hide any characters that are present?
Posted: Tue May 15, 2018 10:07 pm
Hello!
In my game the player can call two different characters, out of a total of 5, to come to a room.
For that I created two "slots" for the room. When the player enters the room, he has the option of calling one character to slot 1 (left) and another to slot 2 (right).
However, let's say that after choosing the BOB character to occupy slot 1 and the RICK character to occupy slot 2, the player changes his mind and decides that he will call the character MARCO to slot 1.
To do this, I'll need to use the "hide bob" command so that it disappears, followed by the "show marco at left". But would it be possible for me to use the hide command on any character that is currently occupying slot 1, without having to write the name of the image?
Since I'm new to Renpy, I'm not sure how to do this. I thought of creating specific layers for each slot and have the contents of these layers erased if the player decides to call another character, but I do not know if this is feasible or recommendable.
Thank you.
In my game the player can call two different characters, out of a total of 5, to come to a room.
For that I created two "slots" for the room. When the player enters the room, he has the option of calling one character to slot 1 (left) and another to slot 2 (right).
However, let's say that after choosing the BOB character to occupy slot 1 and the RICK character to occupy slot 2, the player changes his mind and decides that he will call the character MARCO to slot 1.
To do this, I'll need to use the "hide bob" command so that it disappears, followed by the "show marco at left". But would it be possible for me to use the hide command on any character that is currently occupying slot 1, without having to write the name of the image?
Since I'm new to Renpy, I'm not sure how to do this. I thought of creating specific layers for each slot and have the contents of these layers erased if the player decides to call another character, but I do not know if this is feasible or recommendable.
Thank you.