Page 1 of 1

Flagging side sprite changes

Posted: Wed Apr 22, 2020 2:43 am
by Godline
The problem is I have three MC costume changes all at different points of the game. I want the side sprite shown at all times but if they're showing the side sprite, it doesn't change except when the character is speaking. Therefore I can't change it when the costumes change in script.

I have them tagged like this:
define m = Character('Oola', image="mer")
init python:
config.side_image_tag = "m"

image side mer = im.FactorScale("images/m/blank.png", 0.42)
image side mer interest = im.FactorScale("images/m/surprisedlips.png", 0.42)

define o2 = Character('Oola', image="o2")

init python:
config.side_image_tag = "o"


image side o = im.FactorScale("images/o/blank.png", 0.42)



ETC, so if I want to start the game with m and then switch to o2 when she changes clothes how do I do that?

I've looked through all the old topics for this and can't find ANYTHING. Its driving me crazy.

The closest I found was this one: viewtopic.php?t=50953

There they do " $ set_pov(eileen)"

But I couldn't get that code working for me.

Any help?

Re: Flagging side sprite changes

Posted: Thu Apr 23, 2020 9:30 pm
by Godline
Okay. I've been playing with it and I STILL can't get it working.


I tried this:

Code: Select all


define m = Character('Oola', image="mer", mermaid=True)
#init python:
 #    config.side_image_tag = "m"

image side mer = im.FactorScale("images/m/blank.png", 0.42)
image side mer interest = im.FactorScale("images/m/surprisedlips.png", 0.42)
image side mer cry = im.FactorScale("images/m/crying.png", 0.42)
image side mer frown = im.FactorScale("images/m/worried.png", 0.42)          
image side mer angry = im.FactorScale("images/m/angry.png", 0.42)
image side mer smile = im.FactorScale("images/m/smile.png", 0.42)
image side mer surprise = im.FactorScale("images/m/surprised.png", 0.42)
image side mer talk = im.FactorScale("images/m/teeth.png", 0.42)

define o = Character('Oola', image="o", mermaid=False)

define o2 = Character('Oola', image="o2", mermaid=False)

#init python:
 #    config.side_image_tag = "o"


image side o = im.FactorScale("images/o/blank.png", 0.42)
image side o interest = im.FactorScale("images/o/surprisedwithlips.png", 0.42)
image side o cry = im.FactorScale("images/o/crying.png", 0.42)
image side o frown = im.FactorScale("images/o/sad.png", 0.42)       
image side o angry = im.FactorScale("images/o/angry.png", 0.42)
image side o smile = im.FactorScale("images/o/smile.png", 0.42)
image side o surprise = im.FactorScale("images/o/surprised.png", 0.42)
With the mermaid = True and mermaid = False but nada.

Someone has to have worked this out before. I want the mer image (mermaid image) to show and not the human image.