RPG Maker Forums

I'm working on my own title menu script that has an option for "Credits".  There are a few out there, I know.  But I want the knowledge to do it myself.  Ive been watching diamondplatinums tutorials and I've a few other resources I go to when I get stumped but I've been stuck on this for months without any sort of breakthrough.  I'm not sure how to explain my exact issue...

I've successfully been able to hash together a script that adds a "Credits" option to the title menu.  When i select that, it opens up another menu with the following options

Graphics

Audio

Scripts

Other

When I select one of those options, it should open a window on the right of the menu that lists my credits.  I CANNOT make it open a window when i select one of the above options.  What am i doing wrong?

#==============================================================================# ** Scene_Title#------------------------------------------------------------------------------# This class performs the title screen processing.#==============================================================================class Scene_Title < Scene_Base #-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- alias customscene_credits_create_command_window create_command_window #-------------------------------------------------------------------------- def create_command_window customscene_credits_create_command_window() #Call Original Method @command_window.set_handler:)credits, method:)command_credits)) end def command_credits SceneManager.call (Scene_Credits) endend#==============================================================================# ** Window_TitleCommand#------------------------------------------------------------------------------# This window is for selecting New Game/Continue on the title screen.#==============================================================================class Window_TitleCommand < Window_Command #-------------------------------------------------------------------------- # * Create Command List #-------------------------------------------------------------------------- alias customscene_credits_make_command_list make_command_list #-------------------------------------------------------------------------- def make_command_list customscene_credits_make_command_list() #Call Original Method add_command("Credits", :credits, true) end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width return 200 endend#==============================================================================# ** Window_CreditsMenu#------------------------------------------------------------------------------# This command window appears on the credits screen.#==============================================================================class Window_CreditsMenu < Window_Command #-------------------------------------------------------------------------- # * Initialize Command Selection Position (Class Method) #-------------------------------------------------------------------------- def self.init_command_position @@last_command_symbol = nil end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width return 160 end #-------------------------------------------------------------------------- # * Get Number of Lines to Show #-------------------------------------------------------------------------- def visible_line_number item_max end #-------------------------------------------------------------------------- # * Create Command List #-------------------------------------------------------------------------- def make_command_list add_main_commands add_original_commands end #-------------------------------------------------------------------------- # * Add Main Commands to List #-------------------------------------------------------------------------- def add_main_commands add_command("Graphics", :graphics, true) add_command("Audio", :audio) add_command("Scripts", :scripts) add_command("Other", :other) end #-------------------------------------------------------------------------- # * For Adding Original Commands #-------------------------------------------------------------------------- def add_original_commands end #-------------------------------------------------------------------------- # * Processing When OK Button Is Pressed #-------------------------------------------------------------------------- def process_ok @@last_command_symbol = current_symbol super endend#==============================================================================# ** Scene_Credits#------------------------------------------------------------------------------# This is the Credits Scene.#==============================================================================class Scene_Credits < Scene_Base #-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start super() @Window_CreditsMenu = Window_CreditsMenu.new(x=0, y=71) end #-------------------------------------------------------------------------- # * Post-Start Processing #-------------------------------------------------------------------------- def post_start super() end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update super() return_scene() if Input.trigger?:) return_scene() if Input.trigger?:)C) end #-------------------------------------------------------------------------- # * Pre-Termination Processing #-------------------------------------------------------------------------- def pre_terminate end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate super() @Window_CreditsMenu.dispose() end end#==============================================================================# ** Window_TitleCommand#------------------------------------------------------------------------------# This window is for selecting New Game/Continue on the title screen.#==============================================================================class Window_Graphics < Window_Message #-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start super() @Window_Graphics = Window_Graphics.new(100, 100) @credits_window = Window_Help.new() @text = "Test" end #-------------------------------------------------------------------------- # * Post-Start Processing #-------------------------------------------------------------------------- def post_start super() end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update super() @window_graphics.set_text(@text) return_scene() if Input.trigger?:) return_scene() if Input.trigger?:)C) end #-------------------------------------------------------------------------- # * Pre-Termination Processing #-------------------------------------------------------------------------- def pre_terminate end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate super() @Window_Graphics.dispose() endend
Please bare with me, I'm very new at this and I'm not sure what info I need to post to get the advice I need.  If more is needed, I will gladly provide.

I just have the Graphics option set up right now.  Nothing is meant to show for the other options right now, its all in testing phase.

Thank you!

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,018
Messages
1,018,357
Members
137,803
Latest member
andrewcole
Top