Imagebutton usage
Posted: Sat Aug 26, 2017 4:04 pm
Hi guys.
I read the tutorials about this, but they always speak about using imagebuttons as menus, and I can't seem to make them work anyway.
I have something like this:
label pippo:
if a == 1:
scene a
elif a == 2:
scene b
elif a == 3:
scene c
if c>=3:
call rita_check from _call_rita_check_33
jump rita_1_dismiss
# HERE I PUT THE CALL SCREEN FOR IMAGEBUTTONS
menu:
"Choice" if e1_done == 0:
$ test = a
"Choice 2" if e1_done == 0:
$ test = b
"Choice 3" if e1_done == 0:
$ test = c
I'd like to use imagebuttons insteaad of menu choices, so that I can click over the scene at the coordinates of the imagebuttons.
I tried but the game always prompts me to the text choices...
Can someone help me?
I read the tutorials about this, but they always speak about using imagebuttons as menus, and I can't seem to make them work anyway.
I have something like this:
label pippo:
if a == 1:
scene a
elif a == 2:
scene b
elif a == 3:
scene c
if c>=3:
call rita_check from _call_rita_check_33
jump rita_1_dismiss
# HERE I PUT THE CALL SCREEN FOR IMAGEBUTTONS
menu:
"Choice" if e1_done == 0:
$ test = a
"Choice 2" if e1_done == 0:
$ test = b
"Choice 3" if e1_done == 0:
$ test = c
I'd like to use imagebuttons insteaad of menu choices, so that I can click over the scene at the coordinates of the imagebuttons.
I tried but the game always prompts me to the text choices...
Can someone help me?