Code: Select all
screen navigation(show_buttons=True):
if main_menu:
on "replace" action Hide("navigation")
showif show_buttons:
imagebutton auto "button_menu newgame %s" action Start() style "button_newgame_style"
...
else: ...
Code: Select all
transform button_menu_hover:
zoom 1.0
linear 1.0 zoom 2.0
transform button_menu_unhover:
zoom 2.0
linear 1.0 zoom 1.0
Code: Select all
image button_menu newgame idle:
...
zoom 2.0
linear 2.0 zoom 1.0
image button_menu newgame hover:
...
zoom 1.0
linear 1.0 zoom 2.0
Code: Select all
transfrom button_menu_transfrom:
on hover:
zoom 1.0
linear 1.0 zoom 2.0
on idle:
zoom 2.0
linear 1.0 zoom 1.0
There is also "on show" in atl, but I do not see a good way to use it.
I'd appreciate if anyone knows a good way of doing this.