Как-то так. Быстрый ответ не получился, получился скрипт. ᐛ
#=====================================================================
#=Параметры
#=====================================================================
CREDITS_COMMAND = "Разработчики"
CREDITS_TEXT =
"\\c[5]Должность:\\c[0] Никнейм
\\c[5]Должность:\\c[0] Никнейм
\\c[5]Должность:\\c[0] Никнейм"
#=====================================================================
#=Конец параметров
#=====================================================================
#Окно "Разработчики"
class Window_Credits < Window_Selectable
def initialize(x, y, width, height)
super
draw_text_ex(4, 0, CREDITS_TEXT)
end
end
#Сцена с окном "Разработчики"
class Scene_Credits < Scene_Base
def start
super
create_credits_window
end
def create_credits_window
@credits_window = Window_Credits.new(0, 0, Graphics.width, Graphics.height)
@credits_window.set_handler(:cancel, method(:on_cancel))
@credits_window.active=true
end
def on_cancel
Sound.play_cancel
return_scene
end
end
#Отредактированное титульное меню
class Window_TitleCommand < Window_Command
def make_command_list
add_command(Vocab::new_game, :new_game)
add_command(Vocab::continue, :continue, continue_enabled)
add_command(CREDITS_COMMAND, :credits)
add_command(Vocab::shutdown, :shutdown)
end
end
class Scene_Title < Scene_Base
alias aliased_create_command_window create_command_window
def create_command_window
aliased_create_command_window
@command_window.set_handler(:credits, method(:command_credits))
end
def command_credits
close_command_window
SceneManager.call(Scene_Credits)
end
end