F11 - 动画速度
热度 3已有 744 次阅读2013-3-9 13:11
|个人分类:脚本|
动画
#==============================================================================
# F11 - 动画速度 - By芙蕾娅
#------------------------------------------------------------------------------
# ★ - 新增 ☆ - 修改 ■ - 删除 ● - 无变更
#==============================================================================
module Freya
# 动画的速度,数目越小动画越快
AnimationSpeed = 2 # 默认速度为4
end
#==============================================================================
# ■ Sprite_Base
#------------------------------------------------------------------------------
# 添加了显示动画功能的精灵。
#==============================================================================
class Sprite_Base < Sprite
#--------------------------------------------------------------------------
# ☆ 设置动画的速度
#--------------------------------------------------------------------------
def set_animation_rate
@ani_rate = Freya::AnimationSpeed # 固定的默认值
end
end