- 注册时间
- 2004-3-5
- 最后登录
- 2016-1-1
⑧专业
赋予你第五自由
- 积分
- 108021
|
发表于 2006-3-19 11:26:29
|
显示全部楼层
状态画面的行走图用战斗图代替的脚本:- # ▼▲▼ XRXS_MP 3. ステータス・バトラー表示 ▼▲▼
- # by 桜雅 在土
- #==============================================================================
- # ■ Window_Base
- #==============================================================================
- class Window_Base < Window
- #--------------------------------------------------------------------------
- # ● グラフィックの描画
- #--------------------------------------------------------------------------
- def draw_actor_battler_graphic(actor, x, y)
- bitmap = RPG::Cache.battler(actor.battler_name, actor.battler_hue)
- cw = bitmap.width
- ch = bitmap.height
- src_rect = Rect.new(0, 0, cw, ch)
- self.contents.blt(x - cw / 2, y - ch, bitmap, src_rect)
- end
- #--------------------------------------------------------------------------
- # ● グラフィックの描画
- #--------------------------------------------------------------------------
- alias xrxs_mp3_draw_actor_graphic draw_actor_graphic
- def draw_actor_graphic(actor, x, y)
- return if @draw_actor_graphic_cancel
- xrxs_mp3_draw_actor_graphic(actor, x, y)
- end
- end
- #==============================================================================
- # ■ Window_Status
- #==============================================================================
- class Window_Status < Window_Base
- #--------------------------------------------------------------------------
- # ● リフレッシュ
- #--------------------------------------------------------------------------
- alias xrxs_mp3_refresh refresh
- def refresh
- @draw_actor_graphic_cancel = true
- xrxs_mp3_refresh
- @draw_actor_graphic_cancel = false
- draw_actor_battler_graphic(@actor, 130, 450)#56, 208 520, 208
- end
- end
复制代码
存档行走图用别的图片代替:
http://tian.icworx.org/Network/rgss/rgss.htm |
|