1. Fabseven

    Legacy GM How to make a random ui ?

    Hello In my game there are some different phase each day like this : - build phase : can build building, repair, etc - event phase : many event - result phase : got ressource and see what was done this day The event phase could trigger somes differents things, i use irandom_range at the...
  2. D

    [SOLVED] GUI Menus

    Hello all, After a bit of trying to figure out this logic on my own I have decided to seek help and see if I could talk it through with some people that understand GUIs more thoroughly than myself (which I'm sure most people do). I am working on a construction management style game for windows...
  3. A

    Legacy GM [SOLVED] Player meters leave behind image when view moves

    Howdy folks. My issue involves two on-screen meters; one for the player switching between modes (Energy bars) and the other as a counter (that counts down when enemies are destroyed). They both function as they should, HOWEVER, they also both leave behind an image once the game view moves, like...
  4. Tthecreator

    Demo [uiZ] Windows 3.1 made in uiz in game maker

    Hi there, Thank you for taking your time to look at this demo of uiZ. uiZ is now out and available at: I'm very happy to show you my first demo of uiZ in which I tried to recreate windows 3.1. Now, this particular projects...
  5. P

    How to make a Save Icon on HUD?

    So i've tried for days but i cannot get this to work. I hate the pop up box with text that interrupts the game but i have no way of showing that the game did save. So i want to make a save icon appear at the bottom of the screen when saved. Now this is so tricky because the pause menu is handled...
  6. A Random Creator

    Legacy GM Inventory Problems

    Hi everyone! I'm having issues with my inventory that I absolutely can not find an answer to. I rewritten the code at least four times before and there is just no fix. So it works fine till I get to here in the code: if(mouse_check_button_pressed(mb_left)) { if(tempitemselected = -1) {...
  7. The Reverend

    Legacy GM [SOLVED] GUI buttons - need ideas

    I would very much like to get some insight on how you guys create interactive elements like buttons on the GUI layer. Especially I'd like to get some ideas on easy ways to implement buttons and how to make sure nothing beneath the button get's clicked as well. So if i.e. a clickable object in...
  8. D

    [ RESOLVED ] GUI Button - Help

    Please help if you can offer some advice. I can't figure out a way to do this. Maybe using the (switch) command ?? The display_mouse_get commands work fine, I tested them with some hover code. So there's no issue in using the point_in_rectangle code. I have 4 buttons in total. Each button...
  9. C

    3D Impossible to use effects on GUI?

    Is it impossible to use gamemaker's effects like smoke on Draw GUI event? If its possible, please tell me how :)
  10. Dagoba

    GUI Scrollbar View

    Hello! There's a problem or more like lack of creativity to create a working scrollbar's view. I bought a scrollbar example from YoYoGames market and the scrollbar works fine (after I slightly modified it because it didn't work instantly). There wasn't an example of scrollbar how it works...
  11. Dagoba

    Move GUI with mouse

    Hello again! I have a GUI that looks like a new window but is actually made by a sprite. It has different sections and whenever I drag the top section where there are minimize button, maximize button and close button, it will move the GUI. These buttons are no new objects, but are within the...
  12. ph101

    GUI scripts

    Hi there, I had a quick look on the market place but didn't really find what I was looking for. I'm hoping to find some simple user interface scripts - like a collection of different types of toggled buttons, scroll bars, tabs that I can learn from or adapt. Does anyone have any pointers? Thanks.
  13. Tonydaderp

    Legacy GM [SOLVED] Gui not following view!

    Hi. So I've been making a game, and I recently made a hud. The problem is, however, that the hud is drawn as a gui. It is drawn as a gui because my game uses surfaces for screen transitions, but the gui does not follow view. Even thought it is drawn at view_xview[0] and view_yview[0]. It works...
  14. Heavybrush

    how to move horizontally and vertically in a map, using array2d

    I have to make a navigable map the starting point is in the center there are three worlds + the final stage pressing up I have to navigate from the base to the first level of the first world and go next level in second and third pressing down I have do go from the third to the second and from...
  15. Luke Pierson

    Timer for flashlight battery

    Hey everyone! Here again with another question :) So I have a flashlight item in my game that creates a timer that draws a battery sprite in the GUI. It should draw a different sprite as the timer goes down. It currently draws the full battery and then disappears as the timer goes to the...
  16. Luke Pierson

    [SOLVED] Compass Pointing Towards Exit

    Hey everyone! So I have yet another question. I'm prepping for a game jam by trying to figure out how to do things before actually making the game. I'm trying to implement a compass item that points towards the level exit. When you pick up the item, it draws the compass in the GUI. The compass...
  17. G

    Legacy GM How to properly create GUIs on Game Maker?

    Hello everyone! I'm quite new to Game Maker and I still didn't find the best way of creating GUIs. Does Game Maker have game objects for buttons, toggle buttons, drop down menus, scrollable text fields, sliders, etc? I'll start developing a turn based RPG, so I need all those GUI elements...
  18. L

    Windows Gui Scaling Help

    How could i scale the gui layer surface? if my monitor resolution is 1920x1080 and my gui sprite is only about 100x100 it will show up really small, so how could i scale the surface of the gui layer? to be 2x as big and etc. ?
  19. K

    Legacy GM [SOLVED] GUI Updating Trouble

    Hello, I'm trying to beat my head on this problem but can't seem to figure out what's wrong. So I have an object called "GUI" that handles the GUI in the game, but I can't seem to get it to update/display properly. It's code so far is: Information about object: GUI Sprite: Solid: false Visible...
  20. M

    Legacy GM [Solved] GUI/View scaling interference

    Alright, here's the problem. I like pixel art, and I wish to make a top-down pixel art styled game. However, I would like the GUI and User Interfaces to remain 1920x1080 (high-res). I have a room, which is set up to be 5,000 x 5,000 (it's a map, basically). I have enabled View 0, and it is set...