I am planning on making a custom scene and am having some issues with my script.
I am supposed to have a black screen with a window at the top of the screen, but the project just freezes.
This is the script.
This is the tutorial I am following...
I am supposed to have a black screen with a window at the top of the screen, but the project just freezes.
This is the script.
class MyCustomScene < Scene_Base #-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start super() @my_window = Window_Help.new() end #-------------------------------------------------------------------------- # * Post-Start Processing #-------------------------------------------------------------------------- def post_start super() end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update super() end #-------------------------------------------------------------------------- # * Pre-Termination Processing #-------------------------------------------------------------------------- def pre_terminate end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate super() @my_window.dispose() endend#==============================================================================# ** Window_MenuCommand#------------------------------------------------------------------------------# This command window appears on the menu screen.#==============================================================================class Window_MenuCommand < Window_Command #-------------------------------------------------------------------------- # * For Adding Original Commands #-------------------------------------------------------------------------- alias dp3_custscene_windowmenucommand_addorigcomnd_023fj add_original_commands #-------------------------------------------------------------------------- def add_original_commands dp3_custscene_windowmenucommand_addorigcomnd_023fj() add_command("Custom Scene", :custscene, true) end end #==============================================================================# ** Scene_Menu#------------------------------------------------------------------------------# This class performs the menu screen processing.#==============================================================================class Scene_Menu < Scene_MenuBase #-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- alias dp3_custscene_scenemenu_createcmmdwindow_023fj create_command_window #-------------------------------------------------------------------------- def create_command_window dp3_custscene_scenemenu_createcmmdwindow_023fj() @command_window.set_handler🙂custscene, method🙂command_customscene)) end SceneManager.call(MyCustomScene) def command_customscene end end