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.

Options menu with Events

How would you go about making an options menu without a script, but with events? For example, in my game, I want is so that when you select "Options Menu" on the title screen, it takes you to it's own map, where you can change text speed, font type,sounds, and are all controlled by events.

Does this make sense and can it be done?
 
Yes it's possible, I'm making my own Main menu with events right now. A option menu isn't hard, but if you are going to acess it from the menu you need to edit the Scene_Menu script if it's that you are using.
 
Zarnik":ggp2axzj said:
Yes it's possible, I'm making my own Main menu with events right now. A option menu isn't hard, but if you are going to access it from the menu you need to edit the Scene_Menu script if it's that you are using.

Yeah, the scene menu is already edited, but I just don't know how to load a specific map, and change options within the game via scripting with an event.
 
If you got any specific questions on how to make the options menu on a map I can help you. But don't ask me about scripting :tongue:
I think you need to use this line in your script to teleport to a map. But I'm not sure how it works, so if you would like to teleport to map.001 you would have to type:
$scene = Scene_Map.001.new
Any scripters who can help :grin:
 
Zarnik":1oy1yxz3 said:
If you got any specific questions on how to make the options menu on a map I can help you. But don't ask me about scripting :tongue:
I think you need to use this line in your script to teleport to a map. But I'm not sure how it works, so if you would like to teleport to map.001 you would have to type:
$scene = Scene_Map.001.new
Any scripters who can help :grin:

Gah! I tried it but it didn't work. :huh: Hmmmm. I think the code is
$scene = load_data("Data/Map001.rxdata") but whenever I do that I get an error on line 13 in the main script which reads:

Script 'Main' line 13:NoMethodError occurred.
undefined method 'main' for #<RPG::Map:0x14bf340>

Whatever the hell that means. lol. And when I go to line 13, all that's there is $scene.main...

And thanx Zarnik for the offer with the options menu, but my main goal is to figure out that load map line i'll need to get to the map in the first place, right now.
 
You can't get "Options" on the Title menu without editing scripts.

The correct command for calling a new map is

$scene = Scene_Map.new

But that will blow up too, if you call if from the Title menu. (Or is your title menu a map too?)

If you want Options on the Title menu, put a request in "Script Requests", or in Script Support if you want help doing it yourself.

Be Well
 
Hey. Was just reading over the topic and thought I might be able to help a bit, the code to transfer to a new map is a little more complicated than one line (or atleast to my understanding it is). This is a quick little module I just sorted out to transfer a map when $scene_QuickMapTeleport is used through the game map. I just did a quick test and you can use this to teleport to the other maps by using the same method.

To call it just call it by;
Code:
$Scene_QuickMapTeleport.new
And here is the code.
Code:
class Scene_QuickMapTeleport

 

def main

    # Play decision SE

    $game_system.se_play($data_system.decision_se)

    # Set transferring player flag

    $game_temp.player_transferring = true

    # Set the play destination

    Audio.bgm_fade(800)

    Audio.bgs_fade(800)

    Audio.me_fade(800)

    $game_temp.player_new_map_id = 1

    $game_temp.player_new_x = 5

    $game_temp.player_new_y = 5

    $game_temp.player_new_direction = 2

    $game_map.autoplay

    # Prepare for transition

    Graphics.freeze

    # Set transition processing flag

    $game_temp.transition_processing = true

    $game_temp.transition_name = "001-Blind01"

    $scene = Scene_Map.new

    

    def update

    end

  end

  

 end

 

Hope this helps you out a bit.
 
Thanx a lot Desecration. That's exactly what I needed! :biggrin:

It seems as though your good at scripting...

Could you tell me how to set up the options menu with events???
Like a quick tutorial, or something...

Thanks again :wink:
 
Not a clue with events, if your wanting to do it with scripting its fairly easy though and there are quite a number of options scripts floating about. I'd recommend The_Sleeping_Lionheart's its very good, but if your dead set on having it done with events you may want to try one of the better Event Scripters on the board they should be able to help you out.
 

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