battle窗口类吧你去里边释放个图片就行了,就像在地图中显示图片一样,只是地点不同而已。。。。释放需要用脚本 |
最佳答案来了 :lol #============================================================================== # ■ Window_BattleStatus #------------------------------------------------------------------------------ # 显示战斗画面同伴状态的窗口。 #============================================================================== class Window_BattleStatus < Window_Base #-------------------------------------------------------------------------- # ● 初始化对像, #-------------------------------------------------------------------------- def initialize @have_head = true super(0, 0, 640, 480) #这里可以调整血条的位置 self.contents = Bitmap.new(width - 32, height - 32) @level_up_flags = [false, false, false, false] @sp = Sprite.new @sp.bitmap = Bitmap.new("Graphics/Battlers/Head1.png") #图片筐位置 @sp.z = 9998 @sp.y = [email protected] #图片 x坐标 @sp.x = [email protected]/2 #图片 y坐标 @hp = Sprite.new @hp.bitmap = Bitmap.new("Graphics/Battlers/Head2.png") #图片筐位置 @hp.z = 9990 @hp.y = [email protected] #图片 x坐标 @hp.x = [email protected]/2 #图片 y坐标 self.opacity = 0 refresh end #-------------------------------------------------------------------------- # ● 释放 #-------------------------------------------------------------------------- def dispose super end #-------------------------------------------------------------------------- # ● 设置升级标志 # actor_index : 角色索引 #-------------------------------------------------------------------------- def level_up(actor_index) @level_up_flags[actor_index] = true end #-------------------------------------------------------------------------- # ● 刷新 #-------------------------------------------------------------------------- def refresh self.contents.clear @item_max = $game_party.actors.size actor = $game_party.actors[0] actor_x = 0 * 100 + 4 draw_actor_hp(actor, actor_x, 800, 900) draw_actor_sp(actor, actor_x, 800, 900) end #-------------------------------------------------------------------------- # ● 刷新画面 #-------------------------------------------------------------------------- def update super # if @have_head # @sp.visible = !$game_switches[6] # end # 主界面的不透明度下降 if $game_temp.battle_main_phase self.contents_opacity -= 4 if self.contents_opacity > 191 else self.contents_opacity += 4 if self.contents_opacity < 255 end end def dispose super @sp.dispose if @have_head @hp.dispose if @have_head end end |
不是,我根本就没有找到那素材。脚本偶是一点不懂! |
有专门的脚本,不过我忘了怎么改的啦 |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2025-1-12 01:06
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.