
I pasted the code below. Does anyone know what I did wrong? Thanks in advance!
Code: Select all
imagebutton:
auto "images/GUI/titlescreen/newgame_%s.png"
xpos 809 ypos 589
focus_mask None
action Start()
hovered [ Play ("Soundeffect_1", "audio/soundeffects/menu_hover.wav"),
Show("gui_tooltip", tt_source="images/GUI/titlescreen/tooltip_gear_hover.png", tt_xpos=740, tt_ypos=604),
Show("gui_tooltip2", tt_source="images/GUI/titlescreen/tooltip_gear_hover.png", tt_xpos=1240, tt_ypos=604)]
unhovered [Hide("gui_tooltip"), Hide("gui_tooltip2")] Code: Select all
#begin rotate_eff
init-2:
transform rotate_eff:
rotate_pad True
rotate 0
linear 3.0 rotate 360
repeat
#end rotate_effCode: Select all
screen gui_tooltip:
add tt_source xpos tt_xpos ypos tt_ypos at rotate_eff
screen gui_tooltip2:
add tt_source xpos tt_xpos ypos tt_ypos at rotate_eff