加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 yahzj 于 2016-6-23 15:00 编辑
def draw_item(index) actor = $game_party.members[index] enabled = $game_party.battle_members.include?(actor) rect = item_rect(index) draw_item_background(index) draw_actor_face(actor, rect.x + 1, rect.y + 1, enabled) draw_HalfBody(actor.face_name, 0, rect.x , rect.y+75, enabled) draw_actor_simple_status(actor, rect.x, rect.y + line_height / 2) end
def draw_item(index)
actor = $game_party.members[index]
enabled = $game_party.battle_members.include?(actor)
rect = item_rect(index)
draw_item_background(index)
draw_actor_face(actor, rect.x + 1, rect.y + 1, enabled)
draw_HalfBody(actor.face_name, 0, rect.x , rect.y+75, enabled)
draw_actor_simple_status(actor, rect.x, rect.y + line_height / 2)
end
如上面的代码,我在做状态栏美化,想让队伍的第一个人额外绘制HalfBody,但是不知道
draw_HalfBody(actor.face_name, 0, rect.x , rect.y+75, enabled)
draw_HalfBody(actor.face_name, 0, rect.x , rect.y+75, enabled)
该怎么改,求教 |