Второе набросал минут за пять. название картинки пишешь здесь:
AUTHORS_PICTURE_NAME = 'Authors' # вот в этих кавычках, да
Сам код:
class Window_TitleCommand < Window_Command
#--------------------------------------------------------------------------
# * Create Command List
#--------------------------------------------------------------------------
def make_command_list
add_command(Vocab::new_game, :new_game)
add_command(Vocab::continue, :continue, continue_enabled)
add_command('authors', :authors)
add_command(Vocab::shutdown, :shutdown)
end
end
class Scene_Title < Scene_Base
AUTHORS_PICTURE_NAME = 'Authors'
#--------------------------------------------------------------------------
# * Start Processing
#--------------------------------------------------------------------------
alias old_start start
def start
old_start
@some_picture=Sprite.new
@some_picture.bitmap = Cache.picture(AUTHORS_PICTURE_NAME)
@some_picture.z=100
@some_picture.visible = false
end
#--------------------------------------------------------------------------
# * Create Command Window
#--------------------------------------------------------------------------
alias old_cmd create_command_window
def create_command_window
old_cmd
@command_window.set_handler(:authors, method(:command_authors))
end
#--------------------------------------------------------------------------
# * [Authors] Command
#--------------------------------------------------------------------------
def command_authors
Graphics.freeze
@command_window.visible=false
@some_picture.visible=true
Graphics.transition 60
end
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
alias old_update update
def update
old_update
if Input.trigger? Input::B
Graphics.freeze
@command_window.visible=true
@command_window.activate
@some_picture.visible=false
Graphics.transition 60
end
end
end
люблю иногда переписывать этот код заново))