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.

[Help]Trevor 777's Ring Menu

IASE

Member

So, hi. Well, basically I'm using Trevor 777's Ring Menu and I want to edit it to be my title screen. And there's this little problem I can't figure out.
Code:
 

  def create_options

    # Create empty options with no graphics, with just block of instructions

    opt = [

       RMenu_Option.new {[color=#FF0000]MISSING[/color]} ,

       RMenu_Option.new { $scene=Scene_Load.new } ,

       RMenu_Option.new { exit } ,

    ]

    

    

    # You can access each option graphics, and change them if needed

    opt[0].sprite.bitmap = Bitmap.new(64,32)

    opt[0].sprite.bitmap.draw_text(0,0,64,32, "New Game",1)

    

    opt[1].sprite.bitmap = Bitmap.new(64,32)

    opt[1].sprite.bitmap.draw_text(0,0,64,32, "Load",1)

    

    opt[2].sprite.bitmap = Bitmap.new(64,32)

    opt[2].sprite.bitmap.draw_text(0,0,64,32, "Shutdown",1)

    

    opt

  end

 

If you pay attention to the big red "MISSING" in line number 5 there's nothing written between the two brochures. And that is where the New_Game function should be. But I don't know how to call it because whenever I type $game_system = Game_System.new on the playtest that New Game function does nothing.
Could someone be so kind to explain me what is it that I'm not doing?
 
you'll need to call.

Code:
$scene = Scene_Title.new.command_new_game

that will take you to the map scene.

and if i were you i would replace the "exit" in your third option with

Code:
$scene = Scene_Title.new.command_shutdown
 

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