Animation
Click here to see this page in full context
动画
在处理使用Spine创建的骨骼动画精灵时,每个精灵可以有多个
动画
,因此您需要能够在游戏中的适当时间在它们之间切换。为了帮助您做到这一点,
GameMaker
提供了以下函数:
skeleton_animation_get
skeleton_animation_set
skeleton_animation_get_ext
skeleton_animation_set_ext
skeleton_animation_get_duration
skeleton_animation_mix
skeleton_animation_list
skeleton_animation_clear
skeleton_animation_get_frames
skeleton_animation_get_frame
skeleton_animation_set_frame
skeleton_animation_get_position
skeleton_animation_set_position
skeleton_animation_get_event_frames
skeleton_animation_is_looping
skeleton_animation_is_finished