你试一下:Window_BattleStatus 39-46行完全替换如下: draw_actor_name(actor, actor_x, 52) draw_actor_hp(actor, actor_x, 70, 120) draw_actor_sp(actor, actor_x, 88, 120) if @level_up_flags[i] self.contents.font.color = normal_color self.contents.draw_text(actor_x, 104, 120, 32, "LEVEL UP!") else draw_actor_state(actor, actor_x, 104) |
想把人物提高向上移动 血和SP 向下移动位置 |
#-------------------------------------------------------------------------- # ● 刷新 #-------------------------------------------------------------------------- def refresh self.contents.clear @item_max = $game_party.actors.size for i in 0...$game_party.actors.size actor = $game_party.actors[i] actor_x = i * 160 + 4 draw_actor_name(actor, actor_x, 0)《=====改了120 没变化 draw_actor_hp(actor, actor_x, 32, 120) draw_actor_sp(actor, actor_x, 64, 120) if @level_up_flags[i] self.contents.font.color = normal_color self.contents.draw_text(actor_x, 96, 120, 32, "LEVEL UP!") else draw_actor_state(actor, actor_x, 96) end end end |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-11-23 13:00
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.