这个是插入图片的脚本.
1.找到Window_MenuStatus 组,第18行刷新板块,把我中间空出来的脚本插进去,下一行draw_actor_graphic(actor, x - 40, y + 80)删去
2.找到自己在Graphics下新建一个文件夹,名称自选,就是我脚本下面相应AAA的地方
3.图片选个战斗图,图片名字改成你在使用的角色的名字
4.进入游戏,自己看效果,不懂再问
#--------------------------------------------------------------------------
# ● 刷新
#--------------------------------------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
x = 64
y = i * 116
actor = $game_party.actors[i]
@actor_AAA = [] #新建文件夹名"AAA"
for i in 0...$game_party.actors.size
actor = $game_party.actors[i]
@actor_AAA[i] = Sprite.new
@actor_AAA[i].bitmap = Bitmap.new("Graphics/body/"+actor.name.to_s+".png")
@actor_AAA[i].x = i * 160 + 32
@actor_AAA[i].y = 0
@actor_AAA[i].z = 101
#draw_actor_graphic(actor, x - 40, y + 80) #这个是显示行走图的,可以删去
draw_actor_name(actor, x, y)
draw_actor_class(actor, x + 144, y)
draw_actor_level(actor, x, y + 32)
draw_actor_state(actor, x + 90, y + 32)
draw_actor_exp(actor, x, y + 64)
draw_actor_hp(actor, x + 236, y + 32)
draw_actor_sp(actor, x + 236, y + 64)
end
end
虽然不用xp但我可以告诉你这张是va的图,你打开数据库看看能设置不。