How do I make a button in a screen animated?
I've got a few "layers"
Code: Select all
image butt_anim:
xpos 0.5
ypos 0.2
"images/animation/button_anim.png"
anchor (0.5, 0.85)
rotate 0
linear 0.9 rotate -360
repeat
image butt_anim_1:
xpos 0.5
ypos 0.2
"images/animation/button_anim.png"
anchor (0.5, 0.85)
rotate 0
linear 0.6 rotate 360
repeat
image butt_anim_2:
xpos 0.5
ypos 0.2
"images/animation/button_anim_2.png"
anchor (0.5, 0.85)
rotate 0
linear 5 rotate 360
repeat
image butt_anim_3:
xpos 0.5
ypos 0.2
"images/animation/button_anim_3.png"
anchor (0.5, 0.85)
rotate 0
linear 6 rotate 360
repeat
image button_base:
xpos 0.5
ypos 0.2
"images/animation/button_base.png"
Code: Select all
label butt_test:
show button_base
show butt_anim
show butt_anim_1
show butt_anim_2
show butt_anim_3
$renpy.pause()
return
Code: Select all
label butt_test:
show button_base
show butt_anim
show butt_anim_1
show butt_anim_2
show butt_anim_3
$renpy.pause()
return
I can't get layered image to work, it complains button_base is undefined.
I can't work out Composite, it doesn't work.
I can't seem to put the images in a screen and remain animated.
I've spent close to 7 hours on this, its after 1AM and I'm seriously annoyed so please excuse the brusque post.
Any help is appreciated.