Code: Select all
default iconjhon = '1'
image iconjhon:
"icons/icon[iconjhon].png"
pos (70,200)
screen chooseiconjhon:
textbutton '{size=30} Avatar{/size}' action SetVariable('iconjhon', '1'), Return() pos(50,240)
textbutton '{size=30} Avatar{/size}' action SetVariable('iconjhon', '2'), Return() pos(215,240)The problem is that this image will change according to which character your chose as your pair. For eg, if you chose Jhon it will be flowers. If you chose Adam it will be a cat, etc. But depending on which choice you make, you won't receive a gift hahah
So:
Code: Select all
screen receicedgift:
add "gift"
label yourlivingroom12:
scene livingroom
show screen receicedgiftIf you win the flowers, "gift" should show the animated image of flowers.
If you win the cat, it would be the animated image of a cat.
The problem is that since the image is animated, I don't know how to use "SetVariable" to do that.
If the gift were a static image, I'd simply do it like the example above.
Like, if you chose Jhon, then I'd add a textbutton saying "you receive flowers from Jhon" with the action "SetVariable('gift', '1')", something like that.
Does anyone know how I can do it?
Thanks.
