创建多个窗口皮肤
首先我想说的是这个肯定 不 是我做的我这个平时不喜欢玩白字↑
好吧 其实是从国外转载过来的
汉化了一丢丢,具体还是应该看得懂的
RUBY 代码
#==============================================================================#
# Multiple Colored Menu Script
# Author: Janrae Mendoza
# Description: Uses multiple kinds of window skins for each scene in the menu.
# Official Website: dropsofjanrae.wordpress.com
# Affiliates:
# http://bluemageforum.forumieren.net/
# http://rpgmakerheaven.forumsv.net
# http://xasabs.wordpress.com
# http://atelier-rgss.com
# You can find this script in: http://rpgmakerheaven.forumsv.net/
#我是来汉化的,这个东东的主要作用其实就是在不同的场景显示不同的窗口
#但是窗口文件还是得自己准备,,,下面应该能看懂吧
#==============================================================================#
# A different skin for Scene_Menu
class Scene_Menu
alias janrae_different_window_skin_lat main
def main
$game_system.windowskin_name = "菜单"#name of the windowskin, must be
#in the windowskin folder.#汉化
janrae_different_window_skin_lat
$game_system.windowskin_name = $data_system.windowskin_name
end
end
class Scene_Item
alias janrae_different_window_skin_lat main
def main
$game_system.windowskin_name = "项目"#好吧其实是物品
janrae_different_window_skin_lat
$game_system.windowskin_name = $data_system.windowskin_name
end
end
class Scene_Skill
alias janrae_different_window_skin_lat main
def main
$game_system.windowskin_name = "技能"
janrae_different_window_skin_lat
$game_system.windowskin_name = $data_system.windowskin_name
end
end
class Scene_Equip
alias janrae_different_window_skin_lat main
def main
$game_system.windowskin_name = "装备"
janrae_different_window_skin_lat
$game_system.windowskin_name = $data_system.windowskin_name
end
end
class Scene_Status
alias janrae_different_window_skin_lat main
def main
$game_system.windowskin_name = "状态"
janrae_different_window_skin_lat
$game_system.windowskin_name = $data_system.windowskin_name
end
end
class Scene_Save
alias janrae_different_window_skin_lat main
def main
$game_system.windowskin_name = "存档"
janrae_different_window_skin_lat
$game_system.windowskin_name = $data_system.windowskin_name
end
end
class Scene_Load
alias janrae_different_window_skin_lat main
def main
$game_system.windowskin_name = "Load"#好像是负荷什么的,,,好吧其实是读档
janrae_different_window_skin_lat
$game_system.windowskin_name = $data_system.windowskin_name
end
end
class Scene_End
alias janrae_different_window_skin_lat main
def main
$game_system.windowskin_name = "结束"
janrae_different_window_skin_lat
$game_system.windowskin_name = $data_system.windowskin_name
end
end
我想大概就是这样→_→
说实话看国外的论坛真**吃力,
但是为了学英语,
呸,
为了看点新鲜的东西,
呸,,,,,,,,,……还是得用翻译器慢慢翻→_→
本帖来自P1论坛作者1041235896,因Project1站服务器在国外有时候访问缓慢不方便作者交流学习,经联系P1站长fux2同意署名转载一起分享游戏制作经验,共同为国内独立游戏作者共同创造良好交流环境,原文地址:https://rpg.blue/forum.php?mod=viewthread&tid=375092若有侵权,发帖作者可联系底部站长QQ在线咨询功能删除,谢谢。
页:
[1]