Illustration included for a better idea: Pink writings are just in for a better idea of movement; is not supposed to be in game.
I want it to move it right/left with keys, so i tried
Code: Select all
key "K_RIGHT" action moveoutrightLonger ver. of code
Code: Select all
label inventory_screen:
screen inventory_screen:
key "K_RIGHT" action moveoutright
imagebutton:
idle "images/icons/items/item_cat.png"
action If("scene01 = true, Jump('item_cat_ko'), NullAction()")
# trying to make another character in another scene react to the same item.
else: "scene02"
action Jump("item_cat_da")
#Perhaps the same thing for dog?
label item_cat_ko:
k "Nice drawing."
label item_cat_da
d "I don't really like that drawing."
label item_dog_ko:
k "Is that an anteater?"
label item_dog_da:
k "Err.. Sure mate."