gui

  1. TheOnlyWRT

    Mobile Devices

    Hey guys, so, i have been reading a lot on views and what not trying to set the view to the device size (iOS retina and non-retina devices). Anyways, I have done a lot of the testing on my computer, and it draws everything nicely on the screen. However, when i run the game on my iOS device, the...
  2. Fabseven

    Click does multiples actions

    Hello there Given you have multiple obj on the screen (draw in draw gui or draw) How do you manage to execute only one action on a click on obj with the same location ? (or click box) In my case when i click a tower (it's a tower defense game) A gui layer display options and you can upgrade...
  3. D

    How could I draw a charge metre above my player?

    I have the ability to charge a shot done i'm just not sure how to draw a sprite above the player that indicates how charged the shot actually is. I'm pretty new to drawing things and haven't really done it before which is why i'm trying to implement it in my current project. Could someone...
  4. V

    Question - IDE GMS2 GUI Help

    Hello GM Team and community people, I am returning to Game Maker after a REALLY LONG time (8-9 years). I purchased a studio 2 license, and the UI seems to be quite different from what I was used to. Two things in particular have been bothering me. 1. Is there a way I can get the 'Tree View...
  5. T

    GMS 2 Screen Save Part and The Application Surface?

    I'm creating a pause menu that snapshots the game window and then draws it to a gui layer that has a fixed size of 1920x1080. I have no issues placing objects on this gui layer, but my issue comes in when I run the screen_save function. This function captures the entire game window, which is...
  6. T

    GMS 2 Making sure the GUI layer scales properly?

    I'm working on a project and I've noticed that if I change the size of the window, none of my GUI elements are in their proper place. I'm not sure if I fully understand how the GUI layer works, so I don't know where to begin to derive some sort of scaling formula. Is there a function to solve...
  7. Y

    Legacy GM clickable sprites

    I'm drawing sprites in the Draw_Gui event but they have to act like buttons. I know drawing a rectangle over text but I thought if its a sprite already this wouldnt be nessecary. could anyone help me with this?. ///draw SpellBar draw_sprite(Spr_Spell_Sidebar, 0, 1152, 56) //draw Spells...
  8. U

    GMS 2 Need some help with a button

    I want to make a button. It will be animated button. When user do nothing - button look like simple image. When user move mouse on button - it will be animation "backlighting". When user move mouse out button - it will be animation "fogging". All animations must stop on last frame. I have 3...
  9. C

    GUI Size Question

    Hey Everyone, This isn't so much a programming question about the GUI, but more of how to go about setting the right dimensions. Because my monitor is 1920 x 1080, I just happen to set the GUI to that size and figured sprite sizes out according to that. Because my partner is used to drawing...
  10. jf_knight

    GML [solved] -1,0,+1 value slider bar

    I'm following "SlasherXGames's" tutorial where his example shows the bar with values 0 to 100. I would like to make a similar slider bar for my projects' global brightness setting that registers the values -1 on the far left, 0 at the very center, and +1 at the far right. (note: this bar is...
  11. I

    Legacy GM [SOLVED] Mouse X/Y Broken when GUI is Downscaled

    Hello guys; I've been trying to modify how resolution change affects my game. As of now, everything is redimensioned when it is resized (the application surface, room and view dimensions, etc.). It does preserve the 1:1 scaling, but as the game's development progressed, the minimum resolution...
  12. A

    Use draw Gui or create instance ?

    I need solution for my project , it game like rpg , you can click character and select use it s skill or item . This is example . After selected a character , i click buttn "OK" to open panel skill - item .tab skill appear first , you can change to tab item by select "tab2" in this pic I...
  13. The Reverend

    Design Size of GUI elements on small resolutions.

    I’m currently working on a GUI system and need some inputs. I know how to work with the gui layer in GMS so my questions are not about that but more about concepts. My current and biggest question atm is about: Resolution & Landscape/Portrait Some genres like typical platformers work best...
  14. A

    Legacy GM Pixel Perfect GUI?

    My game runs at a resolution of 384x216, but is obviously upscaled to higher resolutions. Fortunately, all the logic and normal drawing is pixel perfect, as I stretch the canvas in the post draw. I resize my GUI to be 384x216, and while that draws sprites properly, it allows for subpixel...
  15. N

    Asset - Objects NailBuster GUI Widget Library... now completely FREE!

    Greetings.... Wanted to thank the many people that have tried and supported my GUI Widget Library for GMS 1.4... I've decided to open-source the project and offer the complete library (pro version) asset for free for everyone.... Both the free and marketplace pro versions are now have the...
  16. Dragon47

    Asset - Extension Text Inputs - GM Studio 2

    Demo: https://1drv.ms/u/s!AppH38QcoEBfiKVFbF-SFrlkQCoQbQ Poor input boxes make your game look and feel unprofessional, and can ruin the important first impression of a player. But they're a pain to program properly. With this text input extension you can avoid dozens of hours of UI programming...
  17. J

    Gui won't register left click. Prison Architect style.

    Im trying to recreate this type of basic ui as in prison architect. I have set up the numbers of each staff member and left click etc etc, but when I click my "staff" button it simply wont register. It works until I put a draw gui event in. Can someone please explain VERY SIMPLY (I'm a beginner)...
  18. J

    Why doesn't game maker let me click my GUI?

    This has been driving me insane. I set up a button, that when pressed played a sound, and created an instance of another object. I then changed the button from just an object placed on the first instances layer to a draw_gui so it moves around with the camera. I have tried for hours but whatever...
  19. C

    Shaders Problem with shader not applying to GUI layer

    I am having an issue where I've managed to get this CRT filtered shader to work but it won't apply itself over my GUI layer. When I don't set its depth low it draws over the GUI layer and the GUI layer is gone. When I do set the depth low it appears behind the GUI layer and in front of...
  20. M

    Legacy GM GUI alarm issue

    I am trying to draw "Speed Up!" for 3 seconds after o_player collides with obj_powerup_speed I know how to draw "Speed Up!" to the screen but I do not know how to make it last for only 3 seconds. Currently "Speed Up!" will draw but it will never disappear Help would be appreciated Code in...
Top