-
-
Notifications
You must be signed in to change notification settings - Fork 0
SkinAnimation
Legopitstop edited this page Aug 11, 2022
·
1 revision
Animate the SkinCanvas paperdoll bones.
move = SkinAnimation(master=canvas, length=25000, loop=True)
move.translate(500, 'my_tag', rel=(0,100))
move.translate(1000, 'my_tag', rel=(100,0))
move.translate(1500, 'my_tag', rel=(0,-100))
move.translate(2000, 'my_tag', rel=(-100,0))
move.play()
argument | value |
---|---|
master | string |
length | The total animation time in ms |
loop | Whether or not to run this animation continuous |
start_delay | Delay in ms before the animation starts |
loop_delay | Delay in ms before the animation starts again. |
SkinAnimation.command(time=new_time, tag=new_tag, command=new_command)
SkinAnimation.translate(time=new_time, tag=new_tag, post=new_post, rel=new_rel)
SkinAnimation.play()
SkinAnimation.stop()
# Not fully added yet
SkinAnimation.rotate(time=new_time, tag=new_tag, post=new_post, rel=new_rel)
SkinAnimation.scale(time=new_time, tag=new_tag, post=new_post, rel=new_rel)
MojangSkin by legopitstop (c) 2022
General Information
Constants
Classes