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.

Scene before the titlescreen.

First of all: Yes, I know of Sephiroth's splash script and that is not what I'm searching for.
I'm not sure if you know the game Ballad of the wind, but it had something that's quite near the thing I'm searching for.

Let's get to the point: I'm looking for a way to pass the titlescreen, make the game start at a certain map, and I must be able to do pictures/move pictures, stuff like that.
Since my plan was to create a small "movie"/"intro" which then changes into the titlescreen.

What is the best option for doing so? I prefer an event-based titlescreen, since it's more flexible, though it might get buggy/hard to control.
There also might be a possibility to refrain the titlescreen from appearing, and show it up after my picture set-up scene.
(I'm planning to make a titlescreen differently from "New game" and such in a box... (Which I truly dislike.))

Any ideas/hints?
 
Try changing main to:

Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  # Load database
  $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")
  # Make system object
  $game_system = Game_System.new
  # Make title graphic
  @sprite = Sprite.new
  @sprite.bitmap = RPG::Cache.title($data_system.title_name)
  # Reset frame count for measuring play time
  Graphics.frame_count = 0
  # Make each type of game object
  $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
  # Set up initial party
  $game_party.setup_starting_members
  # Set up initial map position
  $game_map.setup($data_system.start_map_id)
  # Move player to initial position
  $game_player.moveto($data_system.start_x, $data_system.start_y)
  # Refresh player
  $game_player.refresh
  # Run automatic change for BGM and BGS set with map
  $game_map.autoplay
  # Update map (run parallel process event)
  $game_map.update
  # Make scene object (map title screen)
  $scene = Scene_Map.new
  # Call main method as long as $scene is effective
  while $scene != nil
    $scene.main
  end
  # Fade out
  Graphics.transition(20)
  $scene = Scene_Map.new
rescue Errno::ENOENT
  # Supplement Errno::ENOENT exception
  # If unable to open file, display message and end
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end

then, just turn the starting map into a title screen.
 
Nah, not what I was looking for.
The titlescreen graphic still appears, I just need to be able to set up a map containing events and I prefer a set-up way to do an evented titlescreen (No idea how to event THAT.)

So like: Kill the titlescreen, and bring it alive with events later. Something like that :) Thanks anyway.
 
Actually, that is what you are looking for if I'm understanding correctly. You said the title screen still appears with that script, so I'm guessing you simply added the script above Main rather than replacing main with it. Delete main and put that in its place, and you're set. :smile:
 
Reives":2s5nc178 said:
Actually, that is what you are looking for if I'm understanding correctly. You said the title screen still appears with that script, so I'm guessing you simply added the script above Main rather than replacing main with it. Delete main and put that in its place, and you're set. :smile:

What I forgot to mention was that you need to create your own title screen with events on that map, instead of using the standard map as the title. Oh, and is this similar to what you did with your new game, The Mirror Lied?
 
Yep. Oh, that reminds me; Tinusss, if you want a reference, there's an unencrypted version of The Mirror Lied posted on page 4 or 5 of its topic (first link in my sig), and it uses an evented title page with this method.
 
Hm, I think I really replaced main, but since this line is here:

# Make title graphic
  @sprite = Sprite.new
  @sprite.bitmap = RPG::Cache.title($data_system.title_name)

I think that's the cause of the titlescreen image appearing?
Anyways, I'll try out your Evented TitleScreen, Reives :)

Thanks ^^
 
Tinusss":el2345sw said:
Hm, I think I really replaced main, but since this line is here:

# Make title graphic
  @sprite = Sprite.new
  @sprite.bitmap = RPG::Cache.title($data_system.title_name)

I think that's the cause of the titlescreen image appearing?
Anyways, I'll try out your Evented TitleScreen, Reives :)

Thanks ^^

Ah, I seem to have left that in by mistake. My apologies. Just delete that, and it should work just fine.
 

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