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! editing scene_menu

i'm a noob, and just learning the basics of scripting. I'm trying to alter the default menu just a bit. Mainly, I'm trying to make the Gold, Steps, and playtime windows shorter, to make more room for extra commands. I don't even know if this is needed, or if the command menu will just scroll when more commands are added. I've shrunk those windows successfully, but I can't seem to make the windows themselves move. I've changed the x and y co-ordinates in scene_menu and tried messing with what I believe were the x and y co-ordinates in the window_playtime, window_gold, etc, and the windows won't move. I also seem to be running into trouble adding to the command menu. This is what I've changed in the scene_menu:
Code:
s1 = $data_system.words.item
    s2 = $data_system.words.skill
    s3 = $data_system.words.equip
    s4 = "Status"
    s5 = "Smith"
    s6 = "Cook"
    s7 = "Save"
    s8 = "Exit"
    #160
    @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6,s7,s8])

That code should have added the words smith and cook to the command menu right? It didn't.

So in summary, I need help moving the playtime, gold, and step windows. I also need help adding items to the command menu. Once that is done I'll worry about how to get those commands to do what I want them to.
 

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