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.

A start screen

boon

Sponsor

I need a screen so that it's an image saying "Press Enter" and when you do it takes you to the title.

Is there a way to do this, and will it affect Ccoa's ThreeImageTitleScreen Script?
 
Arbiter":1vzwknf3 said:
A quick fix for this would be.

Code:
class Press_Enter
  def main
    $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")
    $game_system = Game_System.new
    @sprite = Sprite.new
    @sprite.bitmap = RPG::Cache.title($data_system.title_name)
    s1 = "Press Start"
    @command_window = Window_Command.new(192, [s1])
    @command_window.back_opacity = 200
    @command_window.x = 320 - @command_window.width / 2
    @command_window.y = 200
    Graphics.transition
    loop do
      Graphics.update
      Input.update
      update
      if $scene != self
        break
      end
    end
    Graphics.freeze
    @command_window.dispose
    @sprite.bitmap.dispose
    @sprite.dispose
  end
  
  def update
    @command_window.update
    if Input.trigger?(Input::C)
      case @command_window.index
      when 0  
        command_press_start
      end
    end
  end
  
  def command_press_start
    $game_system.se_play($data_system.cursor_se)
    $scene = Scene_Title.new
  end
end

Let me know if it doesn't work, I haven't tested it.
It didn't work for me.
 

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