Code: Select all
transform button_move:
on hover:
ease 1.0 xpos -0.05
on idle:
ease 1.0 xpos 0.5
screen moving_buttons():
vbox:
pos (0.80, 0.1)
textbutton "Button button button button button" action [Jump("kitchen")] at button_move
textbutton "Button button button button button" action [Jump("livingroom")] at button_move
imagebutton idle "home_h_button_show" action Jump("home1") at button_move