menu

  1. J

    New Game Menu bug

    I'm trying do a menu for my game, but, when i click on "New Game", the window don't centralize with the text, here the pictures and the codes: obj_newgame Create //Criando as opções em um Array (Array é um conjunto de váriaveis em uma) opcoes = ["Novo jogo","Cancelar"]; //Diz qual opcao vai...
  2. C

    GML Listing players after match

    Hello, I'm currently working on a relatively simple split screen game that has multiplayer matches where the control object keeps tracks of each players profile name, kills, deaths, score, and such. What I am trying to do is before and every match show the ledger (like most popular multiplayer...
  3. David Lorenz

    SOLVED Scrollable Menu: Problem calculating based on the scrollbar position

    Hello, everyone! I have a series of menus made with surfaces that can be scrolled vertically by clicking on a bar and moving it up and down. if device_mouse_check_button_pressed(0,mb_left) { if point_in_rectangle(cursor_x, cursor_y,left_limit,top_limit,right_limit,bottom_limit) {...
  4. R

    Text is not drawn

    I have this problem I want to draw the rectangle with the text when I click with the mouse but only the rectangle is drawn, what could be the error? draw_set_font(font_button); draw_set_color(c_white); draw_rectangle(50, 50, room_width - 50, room_height - 50, false)...
  5. levlevin

    GameMaker 2d menu question

    Hi everyone! I am adding gamepad support for my game and faced the problem of controlling a two-dimensional menu. I understand how to go through a 1d menu (e.g. a simple list) with a keyboard/gamepad, but what if I want to move not only top-down but also right-left? I have a couple of ideas on...
  6. biyectivo

    Free gooey UI library for Gamemaker

    Hi, this is the preview version of gooey, a small, sprite-based UI library for Gamemaker LTS+ I created. Hope you find it useful! Version: 0.1 alpha (preview version) Date: March 26th, 2023 Category: UI library Price: free forever License: MIT license (includes Jujuadams's Scribble library...
  7. Adriano_ppaula

    GML Ideas for developing a gamepad scrollable menu system

    Hello everybody! I'm starting a menu system for my game. It would be a menu similar to the image below: - Where there are buttons that don't fit on the screen. So as you press the down arrow, the menu will go up and down according to the scroll on the side. Searching tutorials and videos to...
  8. inertias

    Terraria-like menu while generating a random world?

    In my game, a world is randomly pre-generated via perlin noise in the menu before the game starts. The world is a bit large, so the game freezes for several seconds until generated. This is fine since the player just needs to wait a bit before the game starts, but I realized that games like...
  9. D

    coordinates around a circle math problem (SOLVED)

    Hello, I am working on a radial style menu which involves placing icons around the radius of a circle at specific points. I looked up the math to determine the x and y coordinates of a point on a circle based on its radius and the angle by which the point will be placed. What I was told from...
  10. MFcoffee

    Simple Scrolling Menu

    GM Version: GM: Studio 1 Target Platform: tested on Windows Download Link: https://ufile.io/5sasnt4q Summary: A very simple scrolling menu that I made for someone. It's uses an Array system, which it uses to incorporate Scaling and Fading for the "Options", giving it a nice simplistic look...
  11. J

    SOLVED [drag 'n drop] How to make pause menu appear in center of view

    Hello friends, I am learning how to make a top down adventure and am stuck on the pause menu. I have the game pausing with instances_deactivate_all and everything disappears which is fine. And the object controlling the pausing and menu creation isn't getting deactivated. I've been trying to...
  12. R

    Windows I can´t put the submenus and i don´t know why

    I decided to follow the tutorial of a video about the menus as a programming practice, the problem in which it does not work is because at the min 13:00 the menu should have appeared accompanied by the following options while mine only shows me the menu without options and I would like to know...
  13. Someone You Might Know

    SOLVED local variable xorigin(100011) not set before reading it.

    Hi, good people. Today, I faced a weird error, which is in the title. Full error log: ___________________________________________ ############################################################################################ ERROR in action number 1 of Step Event0 for object obj_menu: local...
  14. A

    GML How do I customize a menu inserted into o_game?

    Hey everyone, I am trying to create a customized menu as a separate object, however, the code in the object is not working. It should show a list of text options as the you'll see in the code below, however, currently it shows a black screen. Previously, the menu was drawn as a non-interactive...
  15. Slyddar

    Menus with Submenus #3 - Mouse Support

    GM Version: Studio 2.3+ Target Platform: Windows Download: n/a Links: video below Summary: Following on from my previous 2 menu tutorials, here's a new tutorial showing how to use structs and constructors to add mouse support to your menu/submenu. It allows you to easily navigate, and change...
  16. S

    Navigating fixed gui menu while also moving camera around

    I'm trying to build a real time strategy game that involves the user clicking on a lot of menus while moving the camera around a map. It's all 2D, so the camera doesn't tilt, but it does zoom in and out to see the world better. I'm drawing a lot of menus with the Draw GUI event, which works...
  17. André Luiz

    GML i Need help with menu

    Okay..., I’m Brazilian and I’m just typing in English thanks to the Google translator, so don’t be surprised if there’s something weird written, continuing, I was following a tutorial to make a menu, it seemed very simple and functional, (I'll leave the link at the end), but when I finally...
  18. S

    My drop down menu isn't working?

    I'm trying to build a menu that opens from the location of an object. I have this script written, but I can't figure out why it's working. It's supposed to draw a rectangle and then build some clickable text objects on top of it, but for some reason when I call this script it doesn't seem to...
  19. S

    sprite scaling with camera zoom

    I'm trying to build a civ6-esque real time strategy game, and it should always have a mouse interactable menu on the screen. I have a menu sprite attached to an object that follows the camera around when the player moves it, but for some reason I can't get it to scale with the viewport when the...
  20. Slyddar

    Menus with Submenus #2 - Selections

    GM Version: Studio 2.3+ Target Platform: Windows Download: n/a Links: video below Summary: In this GML tutorial we expend on the previous menu tutorial, and show how to change the values of the submenus. Whether they are integers, or text based selections, we look at how to store all our...
Top