I have recently begun working on the visual side of my game and, despite thinking that it would be easy enough, have hit a roadblock that I can't overcome.
I want to have side images of non-speaking characters show up behind&on the side of the speaking character, greyed out, and get stacked one after one another in the sequence that they last spoke (speaker, big, last speaker, greyed out and small, second to last speaker, greyed out and small, etc). I am going the side image route because I do not want to write "show" every time. Instead, I am looking to define all the characters in the room via list at the beginning of the scene.
Then, I was thinking I could add this code in my "say" screen:
Code: Select all
if _last_say_who == "[character1]" and who != _last_say_who:
add "[character1]" xpos 350 ypos 620
However, for some reason, all that happens is that the image flashes and does not stay on the screen. Plus, I have found that, for some reason, the value of " _last_say_who", despite changing in the console, remains the same on the screen. I have 2 side images of the same speaking character side-by-side, while his interlocutor is alone, instead of having the second character by his side. It's an all-around weird situation and I'd appreciate any help. Thanks.