Basically, the buttons on idle look like this (jpg image):

When hovered, it's replaced by this red image:

...and I would like it to turn blue when you press left click on it, (not necessarily "activated"):

Here's the current code:
Code: Select all
$ y=450
imagebutton auto "menu/main/start_%s.png" xpos 80 ypos y focus_mask True action Start()
imagebutton auto "menu/main/load_%s.png" xpos 214 ypos y focus_mask True action ShowMenu('load')
imagebutton auto "menu/main/config_%s.png" xpos 342 ypos y focus_mask True action ShowMenu('preferences')
if persistent.extra_unlocked:
imagebutton auto "menu/main/extra_%s.png" xpos 508 ypos y focus_mask True action Start('extras')
imagebutton auto "menu/main/exit_%s.png" xpos 646 ypos y focus_mask True action Quit(confirm=False) I also wonder if I can make the buttons move a few pixels toward the bottom right, to make it look like you pressed an actual button?
If we're obliged to activate the button for it to turn blue and move down it's okay too. I tried calling the blue "START" button "start_action" but it didn't work. "selected_hover" doesn't seem to work either.
Suggestions are welcome. Thanks in advance!

