Hello, I have been working on a script for custom menus, but I'm pretty new to this, and whenever I call the event I cant move the cursor on the menu at all, or cancel or anything, the game basically freezes, although the menu is on the screen.
here are the two scripts
class TestBase<Window_Command def initialize super(0,0) end def window_width return 60 end def window_height return 200 end def make_command_list add_command("|>",😮p1) add_command("|>",😮p2) add_command("|>",😮p3) add_command("|>",😮p4) endend
and here is how I am calling it
SceneManager.call(TestMenu)I'm not sure what Im doing wrong here, any help would be appreciated.
here are the two scripts
class TestBase<Window_Command def initialize super(0,0) end def window_width return 60 end def window_height return 200 end def make_command_list add_command("|>",😮p1) add_command("|>",😮p2) add_command("|>",😮p3) add_command("|>",😮p4) endend
Code:
class TestMenu <Scene_MenuBase def start super create_window end def create_window wind=TestBase.new wind.opacity=0 wind.set_handler(:op1, method(:return_scene)) wind.set_handler(:op2, method(:return_scene)) wind.set_handler(:op3, method(:return_scene)) wind.set_handler(:op4, method(:return_scene)) endend
SceneManager.call(TestMenu)I'm not sure what Im doing wrong here, any help would be appreciated.