美丽晨露 发表于 2014-1-14 19:22
在Window_BattleStatus内修改
draw_actor的等等参数
for i in 0...$game_party.actors.size
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 ######actor_y = i * 60 + 4是要加在这里还是要取代上一句啊? draw_actor_name(actor, actor_x, 0)####然后这里总是报错argument3 or4是actor_y的位置放的不对么??? draw_actor_hp(actor, actor_x, 30, 120) draw_actor_sp(actor, actor_x, 50, 120) end end
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
######actor_y = i * 60 + 4是要加在这里还是要取代上一句啊?
draw_actor_name(actor, actor_x, 0)####然后这里总是报错argument3 or4是actor_y的位置放的不对么???
draw_actor_hp(actor, actor_x, 30, 120)
draw_actor_sp(actor, actor_x, 50, 120)
end
end
|