| 
 
| 赞 | 44 |  
| VIP | 0 |  
| 好人卡 | 2 |  
| 积分 | 128 |  
| 经验 | 32788 |  
| 最后登录 | 2025-9-28 |  
| 在线时间 | 1568 小时 |  
 Lv4.逐梦者 
	梦石8 星屑4811 在线时间1568 小时注册时间2014-1-9帖子402 
 | 
| 
【截图】
x
加入我们,或者,欢迎回来。您需要 登录 才可以下载或查看,没有帐号?注册会员    
 【以下为脚本】
 
 【感想】复制代码=begin
#==============================================================================
#  脸图存档 By:余音·魔眼
#==============================================================================
 【说明】
  修改了默认的存档和读档界面,将行走图改成了脸图,将游戏时间移到了左边。(注:此脚本
  与大多数存档脚本冲突。)
  
 【使用方法】
  即插即用(插在脚本编辑器的Main上方)。
=end
#==============================================================================
# ■ 存档画面和读档画面中显示存档文件的窗口。
#==============================================================================
class Window_SaveFile < Window_Base
  #--------------------------------------------------------------------------
  # ● 刷新
  #--------------------------------------------------------------------------
  def refresh
    contents.clear
    change_color(normal_color)
    name = Vocab::File + " #{@file_index + 1}"
    draw_text(4, 0, 200, line_height, name)
    @name_width = text_size(name).width
    draw_party_face(120, 0)
    draw_playtime(-415, contents.height - line_height, contents.width - 4, 2)
  end
  #--------------------------------------------------------------------------
  # ● 绘制队伍角色脸图
  #--------------------------------------------------------------------------
  def draw_party_face(x, y)
    header = DataManager.load_header(@file_index)
    return unless header
    header[:characters].each_with_index do |data, i|
      draw_face(data[0], data[1], x + i * 96, y)
    end
  end
end
#==============================================================================
# ■ 存档画面和读档画面共同的父类
#==============================================================================
class Scene_File < Scene_MenuBase
  #--------------------------------------------------------------------------
  # ● 获取可显示的存档数目
  #--------------------------------------------------------------------------
  def visible_max
    return 3
  end
  #--------------------------------------------------------------------------
  # ● 获取存档文件窗口的高度
  #--------------------------------------------------------------------------
  def savefile_height
    @savefile_viewport.rect.height / visible_max
  end
end
最近正在学习RGSS3脚本,所以我自己也糊了一个脸图存档脚本(只要稍微懂那么一点点脚本的都会吧),不过类似的脚本我还真没见过。毕竟是第一次糊插件脚本,若有需要改进的地方请提出。
 
 
 | 
 评分
查看全部评分
 |