如果你是要显示个制作成员名单的图片再进入标题画面的,就用logo脚本吧
https://rpg.blue/home.php?mod=sp ... o=blog&id=13469
如果你是要在标题画面的选项中加一个制作成员名单的选项,并且可以点进去查看的
设定方面:
ALL = 数字(整数) 代表一共显示的行数,有几行就写几
TEXT数字(整数) = "要显示的文字"
需要注意的是:ALL写多少,TEXT就要有多少,TEXT从0开始为第一行
举例:
ALL = 3
TEXT0 = "我是第一行"
TEXT1 = "我是第二行"
TEXT2 = "我是第三行"
ALL = 2 TEXT0 = "和哈哈哈哈哈哈哈哈哈" TEXT1 = "bbbbbbbbbbbbbbbbbbbbbbbbbb" class Scene_Title < Scene_Base alias ccw create_command_window def create_command_window ccw @command_window.set_handler(:cy, method(:ccy)) end def ccy SceneManager.call(S_Cy) end end class Window_TitleCommand < Window_Command alias mcl make_command_list def make_command_list mcl add_command("制作人名单", :cy) end end class S_Cy < Scene_MenuBase def start super @cy_window = W_Cy.new @cy_window.set_handler(:cancel, method(:return_scene)) end end class W_Cy < Window_Selectable def initialize super(0, 0, Graphics.width, Graphics.height) refresh activate end def refresh contents.clear ALL.times do |i| draw_text(0, 0+i*24, width, line_height, eval("TEXT"+i.to_s)) end end end
ALL = 2
TEXT0 = "和哈哈哈哈哈哈哈哈哈"
TEXT1 = "bbbbbbbbbbbbbbbbbbbbbbbbbb"
class Scene_Title < Scene_Base
alias ccw create_command_window
def create_command_window
ccw
@command_window.set_handler(:cy, method(:ccy))
end
def ccy
SceneManager.call(S_Cy)
end
end
class Window_TitleCommand < Window_Command
alias mcl make_command_list
def make_command_list
mcl
add_command("制作人名单", :cy)
end
end
class S_Cy < Scene_MenuBase
def start
super
@cy_window = W_Cy.new
@cy_window.set_handler(:cancel, method(:return_scene))
end
end
class W_Cy < Window_Selectable
def initialize
super(0, 0, Graphics.width, Graphics.height)
refresh
activate
end
def refresh
contents.clear
ALL.times do |i|
draw_text(0, 0+i*24, width, line_height, eval("TEXT"+i.to_s))
end
end
end
|