| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2020-5-5 |
| 在线时间 | 5 小时 |
- 梦石
- 0
- 星屑
- 55
- 在线时间
- 5 小时
- 注册时间
- 2008-8-24
- 回帖
- 63
|
楼主 |
发表于 2008-9-3 02:03:06
|
显示全部楼层
class Window_BattleStatus 中的
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
actor = $game_party.actors
actor_x = i * 160 + 4
draw_actor_name(actor, actor_x, 0)
HP(actor, actor_x, 32)
SP(actor, actor_x, 64)
$game_screen.pictures[1].show("001", 1, 100, 64, 100, 100, 255, 0)
if @level_up_flags
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
能不能帮我看看应该在哪一行加个人物头像啊
举个范例最好,不太懂啊... |
|