gui

  1. jobjorgos

    Legacy GM draw_self() causes double sprite

    I have an obj_z_key with spr_z_key in a room with Draw GUI end: draw_self(). Now I have double sprites, while I only want the sprite drawn in the GUI end, and not the object it self. Any way I can disable the sprite of the object itself without also disabling the GUI end drawn sprite?
  2. Fabseven

    Legacy GM [SOLVED] Click triggering two actions

    Hello, there I all my projects so far i have a problem i donot know how to manage. Let's say i have an obj_hero , left click = shoot a arrow with a bow Let's say i have an obj_system, in step i check left click + point_in_rectangle to do something. When clicking, both of the actions a...
  3. N

    GUI Question (this one might be a little tough)

    Basically I'm trying to figure out how to make a button, that you can interact with that shows above the GUI draw event and locks perfectly to the screen. The current draft I have the button is below the GUI layer so I need it above The button is functional so thats good The button does not...
  4. Fabseven

    SOLVED towards Gui point

    Hello there, I know there is a function "move_towards_point" witch make the obj move towards a point. So you can , for example, make an homming missile. But if the mouvement is in the GUI layer how can i do this ? Let's say you killed a monster, a score "+1000" is showing top of the monster...
  5. matharoo

    Asset - Objects GUI Pack with Theme Support

    Matharoo presents... GUI Pack with Theme Support GUI Pack with Buttons, Text Fields, Sliders, and More! $ 3.99 ♦ Documentation ♦ ♦ This GUI Pack contains the following: Buttons Panels Text Fields (Single-line) Text Areas (Multi-line) Sliders Checkboxes Radio Buttons ♦ They can be...
  6. G

    GMS 2 [RESOLVED] Particle System making GUI not draw??

    Hello, This is my second post with another glitch I can't figure out on my own or by reading the manual. I am testing out a particle system in my developing game Veins of Light that is supposed to fire off a burst when someone is hit by an attack, like a blood splatter or something similar...
  7. josyanf1

    Problems with the Shader

    Hi! I would like the GUI to be below the shader. If I change the depth the shader hides the elements of the GUI. How do I fix this? Thanks in advance.
  8. P

    GMS 2 health disappeared after adding menu

    After adding menu, pretty much same as here: health of my character doesn't show anymore. By what is it caused and how to fix this? Do you have got any ideas? O_HEALTH DRAW GUI EVENT ///draw hearth depth= -1000 var zwidth = (display_get_gui_width()) - (display_get_gui_width()/1.65) var zxx =...
  9. jb skaggs

    Graphics What are guidelines to making GUI?

    I read as many articles as I can on making GUI, and I understand even big companies like FB fail sometimes. I also understand when possible reuse. But I also know that BAD GUI will kill a game, ruin a mood, etc. Here is my question: Is there a resource that discusses how gui affects the...
  10. jobjorgos

    Legacy GM [SOLVED] easy way to make Draw GUI with clickable buttons

    I made the User interface above in draw GUI of obj_draw I made all the buttons working, by making for each of them an invisible object, with the same button size and position. It cost alot of effort because I have to do like 100 tests to see if every invisible is fitting right with the GUI...
  11. T

    GMS 2 Help with DRAW GUI event creating object instances

    Hi All, This is my first post and first of all sorry for my english it is not my mother tongue so I will explain myself as better as I can (and of course thanks for reading this). I am creating a tower defense game but I am facing some strange behaviours that I could find neither internet or...
  12. Y

    Legacy GM can't tap virtual key

    so I made 2 virtual keys shown in the following code: if(global.Pausing && !global.In_Store){ draw_set_alpha(0.5) draw_rectangle_colour(0, 0, view_xview + view_wview, view_yview + view_hview,c_gray,c_gray,c_gray,c_gray,false) draw_set_alpha(1) draw_sprite(Spr_BMain, 0...
  13. Consuming Octorocks

    GML Need some help with signposts and text windows!

    I'm super new to Gamemaker 2 but I've figured out enough to get by. OK so my view port is super zoomed to 480x270 pretty much all the time and I have made an signpost object. I set a variable called "message" to a string (what I want the sign to say) in the creation code of the sign in the room...
  14. C

    ScaleUI

    Greetings, I decided I could use a GUI for GMS2 and maybe so could others. I haven't been working on it for too long, but a dev log sounds like fun, right? :) LATEST PROGRESS I just updated to version 0.4.0, scroll down a bit to see the accompanying post. This project may not be updated too...
  15. Dmi7ry

    Portfolio - Programming Experienced programmer for hire

    Current status: BUSY Hi. I'm a programmer with more than 20 years of experience (6+ years of GM/GMS). Programming service: Any 2D games Game prototypes Game engines GUI and HUD systems Dialog systems Editors (maps/levels, GUI/HUD, etc) Tools (converters, loaders, generators, etc) Any...
  16. Dmi7ry

    KinGUIru (KindGUI)

    KinGUIru (aka KindGUI) is a GUI system for GMS (GMS1.x, GMS2; all platforms). First release is planned before the end of the current year (as paid asset). A few words about its features. Nice-looking (I hope) default design. Themes are supported (you can customize the default theme, like...
  17. N

    Android Resizing GUI elements in accordance with screen size

    Hi everyone! I was testing my game on an android emulator that has the following diemensions: 720X1280 and noticed that the virtual buttons and text that I draw in the Draw GUI event appear way too big and overlap each other, I tried using display_set_gui_size() and display_set_gui_maximise()...
  18. Erayd

    Design When/where/how to draw your game?

    I want to start a discussion about drawing in game. I want to hear everyone's opinions on this. Where do you draw all of your objects? Do you use surfaces for everything? If you use surfaces, what would you say are the reasons why surfaces are better than simply using each draw event? Do...
  19. M

    Setting a Position Relative to the Screen View?

    I want to keep an object at a specified position on the screen at any given time. This is the simplified script I have for a test object at the moment: x=view_xview[0]+1000; y=view_yview[0]+100; This works fine until the view in the room in extended. Here is the location of the object before...
  20. A

    GMS 2 Black/White Alpha/Clipping Masks to COMBINE Surfaces??

    Hi I've been researching alot about using black and white images as alphas to designate which areas of an entire surface that's drawn, is to be shown, AND the EXACT OPPOSITE for another surface to be drawn. meaning... my current example: for one scene, I am using a gaussian blur shader to...
Top