Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Option Credits in title screen

Status
Not open for further replies.
I want a fourth option in my title screen: Credits. There I put the people who helped my and so. Must I edit a script page, or is a completly new script needed? In both, can you help me? (thats why I'm posting here) because I can't script.
 
You should edit Scene_Title. If you're using SDK, do not directly edit SDK. Instead, make a copy of Scene_Title, edit that. Like this:

Code:
#SDK2 Edit
module SDK::Scene_Commands
  #============================================================================
  # ** Scene_Title
  #============================================================================
  module Scene_Title
    New_Game = 'New Game'
    Continue = 'Continue'
    Credit = 'Credits'
    Shutdown = 'Shutdown'
  end
end


#==============================================================================
# ** Scene_Title
#------------------------------------------------------------------------------
#  This class performs title screen processing.
#==============================================================================

class Scene_Title < SDK::Scene_Base
  #--------------------------------------------------------------------------
  # * Main Processing : Window Initialization
  #--------------------------------------------------------------------------
  def main_window
    super
    # Make command window
    s1 = SDK::Scene_Commands::Scene_Title::New_Game
    s2 = SDK::Scene_Commands::Scene_Title::Continue
    s3 = SDK::Scene_Commands::Scene_Title::Credit
    s4 = SDK::Scene_Commands::Scene_Title::Shutdown
    @command_window = Window_Command.new(192, [s1, s2, s3, s4])
    @command_window.back_opacity = 160
    @command_window.x = 320 - @command_window.width / 2
    #@command_window.y = 288
    @command_window.y = 256
    # If continue is enabled, move cursor to "Continue"
    # If disabled, display "Continue" text in gray
    if @continue_enabled
      @command_window.index = 1
    else
      @command_window.disable_item(1)
    end
  end
  #--------------------------------------------------------------------------
  # * Main Command Input
  #--------------------------------------------------------------------------
  def main_command_input
    # Branch by command window cursor position
    case @command_window.command
    when SDK::Scene_Commands::Scene_Title::New_Game  # New game
      command_new_game
    when SDK::Scene_Commands::Scene_Title::Continue  # Continue
      command_continue
    when SDK::Scene_Commands::Scene_Title::Shutdown  # Shutdown
      command_shutdown
    when SDK::Scene_Commands::Scene_Title::Credit
      command_credit
    end
  end
  #---------------------------------
  def command_credit
    # Show Credit Scene
  end
end
 
Make a new page, then paste it.(If you don't use SDK, you have to make a copy of Scene_Title::main and Scene_Title::update, then edit them) For credit, you have to make a credit scene or find script for that.
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top