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.

Making a map a title screen

You do that, or if you want an evented title screen, like Quintessence or Spinel's Core, you would replace Main with this:
Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
 
   # Start in Full Screen
   #showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ''
   #showm.call(18,0,0,0)
   #showm.call(13,0,0,0)
   #showm.call(13,0,2,0)
   #showm.call(18,0,2,0)
    
 $data_actors        = load_data("Data/Actors.rxdata")
    $data_classes       = load_data("Data/Classes.rxdata")
    $data_skills        = load_data("Data/Skills.rxdata")
    $data_items         = load_data("Data/Items.rxdata")
    $data_weapons       = load_data("Data/Weapons.rxdata")
    $data_armors        = load_data("Data/Armors.rxdata")
    $data_enemies       = load_data("Data/Enemies.rxdata")
    $data_troops        = load_data("Data/Troops.rxdata")
    $data_states        = load_data("Data/States.rxdata")
    $data_animations    = load_data("Data/Animations.rxdata")
    $data_tilesets      = load_data("Data/Tilesets.rxdata")
    $data_common_events = load_data("Data/CommonEvents.rxdata")
    $data_system        = load_data("Data/System.rxdata")
  $defaultfonttype = "Times New Roman"
  $defaultfontsize = 22
    
  $game_temp          = Game_Temp.new
    $game_system        = Game_System.new
    $game_switches      = Game_Switches.new
    $game_variables     = Game_Variables.new
    $game_self_switches = Game_SelfSwitches.new
    $game_screen        = Game_Screen.new
    $game_actors        = Game_Actors.new
    $game_party         = Game_Party.new
    $game_troop         = Game_Troop.new
    $game_map           = Game_Map.new
    $game_player        = Game_Player.new
    $game_party.setup_starting_members
    $game_map.setup($data_system.start_map_id)
    $game_player.moveto($data_system.start_x, $data_system.start_y)
    $game_player.refresh
    $game_map.autoplay
    $game_map.update
    $scene = Scene_Map.new
    


    
  Graphics.freeze
  while $scene != nil
    $scene.main
  end
  Graphics.transition(20)
rescue Errno::ENOENT
  filename = $!.message.sub("No such file or directory - ", "")
  print("File #{filename} not found.")
end
 
$t3v0":p1sylu1t said:
Take a screenshot then apply it as your title screen

Hello everyone, I'm new here, and having a hard time starting with events. I have a decent amount down knowledge wise but I'm wondering how to "apply it as your title screen."
 
Yes just paste the whole thing. When people who don't know what to paste try removing things, too often they delete things they shouldn't and end up screwing things up. Plus, you may need them in the future in case you forget something. And besides, why delete the instructions, credits, or any of the script heading (all that green text at the top of the script)?
 
:dead: Hmm, you have a great point there, I just thought maybe the script wouldn't work with a bunch of extra notes in there.

It says to past it below SDK and above main... I don't see SDK.. any help?
 

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