Hello everyone ! I have a little problem with my point & click game.
Most of my screens have imagebuttons that, when clicked, jump to a label and trigger some dialogue. Ex :
Code: Select all
screen forest_glade_1():
imagebutton:
focus_mask True
xpos 723
ypos 344
idle "imagebuttons/kaeli_card_phoebus_statue.png"
action Jump("got_kaeli_card")
########################################"
label got_kaeli_card:
show fairy
f "Mmh ? What's this ?"
call screen forest_glade_1
I kinda fixed it by showing the screen in the first line of the label and by putting another screen with an empty png on top of it to make the buttons unclickable during the dialogue, so like this :
Code: Select all
screen disable_screen_imagebuttons():
imagebutton:
idle "disable_buttons.png"
action Return()
label got_kaeli_card:
show screen forest_glade_1
show disable_screen_imagebuttons
show fairy
f "Mmh ? What's this ?"
call screen forest_glade_1
Anyway idea how to fix it ?
TLDR :
- I want my imagebuttons to stay on screen when clicked on, but they should be unclickable during the dialogue so the player doesnt trigger the dialogue again and again.
- My sprites must stay on screen as well.