| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2013-9-15 |
| 在线时间 | 57 小时 |
风之塞尔达
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 57 小时
- 注册时间
- 2005-10-22
- 回帖
- 2437

|
发表于 2008-4-19 08:40:39
|
显示全部楼层
class Scene_Battle
def make_item_action_result
这里获取了数据库中item的行动方和对象方动画
end
def update_phase4_step3
设置行动方动画ID
end
def update_phase4_step4
设置对像方动画ID
end
然后下次的update函数将显示这些更新
end
class Sprite_Battler < RPG::Sprite
def update
. . . .. .
if @battler.animation_id != 0
animation = $data_animations[@battler.animation_id]
animation(animation, @battler.animation_hit) # 显示
@battler.animation_id = 0
end
.....
end
end
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|