本帖最后由 李光兆 于 2014-3-25 12:24 编辑 效果是这样子哒。 没错就是MAD FATHER啦。 修改一下下应该只要……1V吧…… 我是穷逼放过我。 请注明脚本来源是喵呜酱再使用唷 ...
喵呜喵5 发表于 2014-3-22 18:53 接单 不过英文字体未必是原版的字体……
未命名.PNG (52.35 KB, 下载次数: 34)
下载附件 保存到相册
2014-3-22 22:48 上传
FileBackground.png (4.24 KB, 下载次数: 45)
Load.png (1.66 KB, 下载次数: 45)
Save.png (1.68 KB, 下载次数: 45)
=begin=============================================================================== 狂父存档界面 (Author:喵呜喵5) =============================================================================== 使用说明: 仿恐解游戏狂父的界面制作的存/读档界面 请将三个图像文件:Save、FileBackground、Load 放到Graphics\System目录下 =endmodule MadFather#==============================================================================# 设定部分#============================================================================== NAME = "DATA" #存档文件名 EMPTY = " NO DATA" #存档不存在时的提示 SMALL = 2 #地图名/存档不存在提示的缩放大小 WIDTH = 212 #存档界面宽度 HEIGHT = 61 #存档界面高度 X0 = 166 #存档界面X坐标 Y0 = 55 #存档界面Y坐标 X1 = 6 #文件名X坐标 Y1 = 6 #文件名Y坐标 X2 = 100 #游戏时间X坐标(Y坐标同文件名Y坐标) X3 = 8 #提示文字X坐标 Y3 = 35 #提示文字Y坐标 LOADX = 165 #读档符号X坐标 LOADY = 20 #读档符号Y坐标 SAVEX = 164 #存档符号X坐标 SAVEY = 20 #存档符号Y坐标 #==============================================================================# 设定结束#==============================================================================endclass << DataManager alias m5_make_save_header make_save_header def make_save_header header = m5_make_save_header header[:locate] = $game_map.display_name header endendclass Window_SaveFile def initialize(height, index) super(MadFather::X0, MadFather::HEIGHT * index, MadFather::WIDTH, MadFather::HEIGHT) @file_index = index refresh @selected = false self.opacity = 0 end def standard_padding return 0 end def refresh contents.clear change_color(normal_color) name = MadFather::NAME + "#{@file_index + 1}" draw_text(MadFather::X1, MadFather::Y1, contents.width, line_height, name) draw_playtime(MadFather::X2, 6, contents.width) draw_locate(MadFather::X3, MadFather::Y3, contents.width) end def draw_playtime(x, y, width) header = DataManager.load_header(@file_index) if header draw_text(x, y, width, line_height, header[:playtime_s]) else draw_text(x, y, width, line_height,"-:--:--") end end def draw_locate(x, y, width) contents.font.size -= MadFather::SMALL header = DataManager.load_header(@file_index) if header and header[:locate] draw_text(x, y, width, line_height, header[:locate]) else draw_text(x, y, width, line_height, MadFather::EMPTY) end contents.font.size += MadFather::SMALL end def update_cursor if @selected cursor_rect.set(0, 0, contents.width, contents.height) else cursor_rect.empty end endendclass Scene_File def create_background super @background2 = Sprite.new @background2.bitmap = Cache.system("FileBackground") @background2.z = @background_sprite.z creat_scene_hint end def creat_scene_hint @scene_hint = Sprite.new @scene_hint.bitmap = Cache.system("Save") @scene_hint.z = @background2.z @scene_hint.x,@scene_hint.y = MadFather::SAVEX,MadFather::SAVEY end def dispose_background super @background2.bitmap.dispose @background2.dispose @scene_hint.bitmap.dispose @scene_hint.dispose end alias m5_create_help_window create_help_window def create_help_window m5_create_help_window @help_window.visible = false end def create_savefile_viewport @savefile_viewport = Viewport.new @savefile_viewport.rect.y = MadFather::Y0 @savefile_viewport.rect.height = MadFather::HEIGHT * visible_max end def visible_max return 5 endendclass Scene_Load def creat_scene_hint @scene_hint = Sprite.new @scene_hint.bitmap = Cache.system("Load") @scene_hint.z = @background2.z @scene_hint.x,@scene_hint.y = MadFather::LOADX,MadFather::LOADY endend
=begin =============================================================================== 狂父存档界面 (Author:喵呜喵5) =============================================================================== 使用说明: 仿恐解游戏狂父的界面制作的存/读档界面 请将三个图像文件:Save、FileBackground、Load 放到Graphics\System目录下 =end module MadFather #============================================================================== # 设定部分 #============================================================================== NAME = "DATA" #存档文件名 EMPTY = " NO DATA" #存档不存在时的提示 SMALL = 2 #地图名/存档不存在提示的缩放大小 WIDTH = 212 #存档界面宽度 HEIGHT = 61 #存档界面高度 X0 = 166 #存档界面X坐标 Y0 = 55 #存档界面Y坐标 X1 = 6 #文件名X坐标 Y1 = 6 #文件名Y坐标 X2 = 100 #游戏时间X坐标(Y坐标同文件名Y坐标) X3 = 8 #提示文字X坐标 Y3 = 35 #提示文字Y坐标 LOADX = 165 #读档符号X坐标 LOADY = 20 #读档符号Y坐标 SAVEX = 164 #存档符号X坐标 SAVEY = 20 #存档符号Y坐标 #============================================================================== # 设定结束 #============================================================================== end class << DataManager alias m5_make_save_header make_save_header def make_save_header header = m5_make_save_header header[:locate] = $game_map.display_name header end end class Window_SaveFile def initialize(height, index) super(MadFather::X0, MadFather::HEIGHT * index, MadFather::WIDTH, MadFather::HEIGHT) @file_index = index refresh @selected = false self.opacity = 0 end def standard_padding return 0 end def refresh contents.clear change_color(normal_color) name = MadFather::NAME + "#{@file_index + 1}" draw_text(MadFather::X1, MadFather::Y1, contents.width, line_height, name) draw_playtime(MadFather::X2, 6, contents.width) draw_locate(MadFather::X3, MadFather::Y3, contents.width) end def draw_playtime(x, y, width) header = DataManager.load_header(@file_index) if header draw_text(x, y, width, line_height, header[:playtime_s]) else draw_text(x, y, width, line_height,"-:--:--") end end def draw_locate(x, y, width) contents.font.size -= MadFather::SMALL header = DataManager.load_header(@file_index) if header and header[:locate] draw_text(x, y, width, line_height, header[:locate]) else draw_text(x, y, width, line_height, MadFather::EMPTY) end contents.font.size += MadFather::SMALL end def update_cursor if @selected cursor_rect.set(0, 0, contents.width, contents.height) else cursor_rect.empty end end end class Scene_File def create_background super @background2 = Sprite.new @background2.bitmap = Cache.system("FileBackground") @background2.z = @background_sprite.z creat_scene_hint end def creat_scene_hint @scene_hint = Sprite.new @scene_hint.bitmap = Cache.system("Save") @scene_hint.z = @background2.z @scene_hint.x,@scene_hint.y = MadFather::SAVEX,MadFather::SAVEY end def dispose_background super @background2.bitmap.dispose @background2.dispose @scene_hint.bitmap.dispose @scene_hint.dispose end alias m5_create_help_window create_help_window def create_help_window m5_create_help_window @help_window.visible = false end def create_savefile_viewport @savefile_viewport = Viewport.new @savefile_viewport.rect.y = MadFather::Y0 @savefile_viewport.rect.height = MadFather::HEIGHT * visible_max end def visible_max return 5 end end class Scene_Load def creat_scene_hint @scene_hint = Sprite.new @scene_hint.bitmap = Cache.system("Load") @scene_hint.z = @background2.z @scene_hint.x,@scene_hint.y = MadFather::LOADX,MadFather::LOADY end end
查看全部评分
折叠内容标题(非必须)
折叠内容
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-12-4 05:58
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.