Hi again guys.
First, I want to tell you that I can't believe how fast people here come with solutions for people like me. I've never seen anything like that (I'm not a forum person). From now on, I'll try my best to help people in trouble, with the little I know.
Now the problem, I've been trying to make a new scene in my menu called "Controls" where it shows a picture of the size of the screen with the controls the game uses.
I use XS-Menu Deluxe but I'm not sure that matters.
I added this in "Scene_Menu"
#-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- def create_command_window @command_window = Window_MenuCommand.new @command_window.set_handler🙂item, method🙂command_item)) @command_window.set_handler🙂skill, method🙂command_personal)) @command_window.set_handler🙂equip, method🙂command_personal)) @command_window.set_handler🙂status, method🙂command_personal)) @command_window.set_handler🙂formation, method🙂command_formation)) @command_window.set_handler🙂save, method🙂command_save)) @command_window.set_handler🙂game_end, method🙂command_game_end)) @command_window.set_handler🙂controls, method🙂command_show_controls)) @command_window.set_handler🙂cancel, method🙂return_scene)) endand this under [End Game] Command.
#-------------------------------------------------------------------------- # * [Controls] Command #-------------------------------------------------------------------------- def command_show_controls screen.pictures[index].show(keys, center, 0, 0, 0, 0, 100, 0) end"keys" is the name of the file, I'm not sure if "index" should be "Pictures" (being the folder where the picture is located) but I also tried that so that's not the problem.
Whenever I click the new option in the game, the menu duplicates, and doesn't show the picture. Then I have to press Cancel as many times as I pressed Action. It seems to re-open the menu when I click it.
Any ideas?
EDIT: this is the code in XS - Menu Deluxe for the controls scene
First, I want to tell you that I can't believe how fast people here come with solutions for people like me. I've never seen anything like that (I'm not a forum person). From now on, I'll try my best to help people in trouble, with the little I know.
Now the problem, I've been trying to make a new scene in my menu called "Controls" where it shows a picture of the size of the screen with the controls the game uses.
I use XS-Menu Deluxe but I'm not sure that matters.
I added this in "Scene_Menu"
#-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- def create_command_window @command_window = Window_MenuCommand.new @command_window.set_handler🙂item, method🙂command_item)) @command_window.set_handler🙂skill, method🙂command_personal)) @command_window.set_handler🙂equip, method🙂command_personal)) @command_window.set_handler🙂status, method🙂command_personal)) @command_window.set_handler🙂formation, method🙂command_formation)) @command_window.set_handler🙂save, method🙂command_save)) @command_window.set_handler🙂game_end, method🙂command_game_end)) @command_window.set_handler🙂controls, method🙂command_show_controls)) @command_window.set_handler🙂cancel, method🙂return_scene)) endand this under [End Game] Command.
#-------------------------------------------------------------------------- # * [Controls] Command #-------------------------------------------------------------------------- def command_show_controls screen.pictures[index].show(keys, center, 0, 0, 0, 0, 100, 0) end"keys" is the name of the file, I'm not sure if "index" should be "Pictures" (being the folder where the picture is located) but I also tried that so that's not the problem.
Whenever I click the new option in the game, the menu duplicates, and doesn't show the picture. Then I have to press Cancel as many times as I pressed Action. It seems to re-open the menu when I click it.
Any ideas?
EDIT: this is the code in XS - Menu Deluxe for the controls scene
Code:
# symbol => [name, description, icon_index, enabled, personal, custom] MENU_LIST = { :item => ["", "Browse through your acquired items.", 4148, true, false], :equip => ["Equipment", "Change your equipment.", 4145, true, true], :skill => ["Spells", "Manage your available skills.", 4147, true, true], :status => ["Stats", "See the current status of the hero.", 4136, true, true], :formation => ["", "Change the formation of the party.", 4134, true, false], :save => ["", "Record your progress.", 4139, true, false], :load => ["", "Load your saved progress.", 4165, true, false, Scene_Load], :game_end => ["Settings", "Change settings...", 4162, true, false], :controls => ["Controls", "Show controls", 4162, true, false, Scene_Menu], :shutdown => ["Exit", "Close the game.", 4133, true, false, Scene_Title], :com_event => ["Camping", "Run common event camping.", 0, true, false, 1] } # Don't remove this line!