赞 | 0 |
VIP | 10 |
好人卡 | 3 |
积分 | 1 |
经验 | 3584 |
最后登录 | 2015-10-25 |
在线时间 | 134 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 134 小时
- 注册时间
- 2009-3-29
- 帖子
- 470
|
我已经找到了!像脚本这个:class Scene_Map < Scene_Base
alias hpmpwindow_start start
def start
hpmpwindow_start
@hpmpwindow = Window_Base.new(0, 336, 152, 80)
end
alias hpmpwindow_update update
def update
actor = $game_party.members[0]
if @temp_hp != actor.hp or @temp_mp != actor.mp
@hpmpwindow.contents.clear
@hpmpwindow.draw_actor_hp(actor, 0, 0)
@hpmpwindow.draw_actor_mp(actor, 0, 24)
@temp_hp = actor.hp
@temp_mp = actor.mp
end
@hpmpwindow.update
hpmpwindow_update
end
alias hpmpwindow_terminate terminate
def terminate
@hpmpwindow.dispose
hpmpwindow_terminate
end
end |
|