gui

  1. A

    SOLVED how to get a shader to affect all, but one?

    Hi! Its been a while since I've been on here. so, hello hello! I've currently run into a problem that I'm desperate to solve.. I currently have a shader that de-saturates the screen via gui. The problem is I want one object to remain with color. how can I draw that object without it being...
  2. A

    GMS 2 Cannot get GUI scaling right...

    I'm pulling my hair out with this. I cannot for the life of me figure out why my GUI is scaling incorrectly and creating sub pixels. Here's some examples: https://imgur.com/a/DU4uE6G If I set my GUI to full device size it renders them fine but any sort of aspect ratio scaling I try to do...
  3. F

    Question - IDE 5 essential IDE/GUI improvements

    Hi there, Been using GMS since 2014 and have some suggestions on GMS2s environment that'll help improve workflow. Hopefully these are already on the cards :) -Sub tabs When you full screen multiple objects event codes or scripts it puts it into one 'Code' tab, where you cannot tell which...
  4. L

    GUI layer sprite button help

    So I'm creating an isometric city builder type game and am fairly new to GML and programming so am trying to start small. To start with I've created a simple map and an objects that draws a tower sprite button to the GUI layer. When in game the player can move the camera around the map using...
  5. Azenris

    GMS 2 gui mouse position ;_;

    Having gui mouse position problems :( Not sure what's wrong :( Any help please :( I attached 2 screenshots in this link https://imgur.com/a/OFXwfVH It basically just shows some variables window size = 1920, 1080 game/res size = 960, 540 gui size = 960, 540 view size = 960, 540 viewport = 0...
  6. FeetUpGaming

    In game GUI Help

    Hey, i'm just wondering the best way to do a button GUI in a game that uses a dynamic camera. I usually resort to putting all the button positions and mouse events in the step event then drawing them in the GUI event but i just feel theres alot of manual stuff involved and it's not very future...
  7. V

    GMS 2 [SOLVED] Problems with GUI - inventory

    I'm trying to make an inventory for my game by using GUI. Does anybody know how I can get a link from draw event as it may be with objects ( var a = instance_create(..) )? I want to change x and y coordinates of my picture without putting parameters into draw(...,x,y) just like that ...
  8. Kezarus

    Asset - Project Free Asset - Monastery Framework

    Monastery Framework OBJECTIVE Create a framework project on GM2 that have some useful functions, GUI elements (buttons, panels, containers), basic Options menu, start Ini files that houses preferences, the basic setup for music, sound and particles. DESCRIPTION Ok, I will have to do something...
  9. rellmaker

    Question - IDE GMS 2 unresponsive when Macbook pro wakes up

    First I must mention, I have only recently started using GMS 2 after a hiatus of about 1 year. If I allow my Macbook to enter sleep mode, or close the laptop and open it later, the GMS2 GUI is unresponsive. This only seems to happen if a considerable amount of time elapses between closing the...
  10. Divinik

    GML Make status bar stay the same size?

    I'm a bit of a math dummy, I was wondering if it was possible to make a, for example, health meter stay the same size, even if the character's max health went up?
  11. matharoo

    GML GUI Tutorials: Buttons and Option Lists

    GM Version: GMS2 Target Platform: All Download: https://www.dropbox.com/s/cstywdaqqy53lfs/ui-tutorial.yyz?dl=0 https://www.dropbox.com/s/gvkkah9cbak180p/ui-tutorial-2.yyz?dl=0 Summary: In this series, I make tutorials about different GUI elements, which can be used in many different...
  12. S

    GMS 2 I need tips in creating a GUI library.

    Hello there, I'm new to taking GMS2 seriously for game making and I want to make a Shmup/RPG, but I realized I need a good GUI system for what I have in mind and GML doesn't have gui functions to create buttons, scroll panes, radio buttons, etc., so I want to create a GUI system to do so or use...
  13. Juju

    Free Guido - Free and open GUI library

    GitHub: https://github.com/JujuAdams/Guido/ Example project: https://github.com/JujuAdams/Guido/releases/download/2.0.0/Guido.2.0.0.example.yyz Package (for GMS2.2.3+): https://github.com/JujuAdams/Guido/releases/download/2.0.0/guido_2_0_0.yymp Guido is a simple GUI framework that offers...
  14. EvanSki

    GMS 2 How could I draw sound waves?

    I want to take any sound file that I add to my project (Snd_bing for example) And draw the actually waves of sound you would see for it in audacity But draw them at the same time its playing I have no idea how i would go about this. I was think I'd have to do something with getting the pitch...
  15. xDGameStudios

    Question - IDE When will we have a GUI system, is it planned?

    Hi everyone :D This is a question/issue that lives with me for quite some time. One problem that makes me shift from GMS2 to other engines is actually the GUI support.. every time I start working on a project I approach it using GMS2 as I think it is a powerful and capable tool both for indie...
  16. Gullgum

    GMS 2 Need help drawing objects with GUI Layers within a script

    Hello! I have an object that is drawing a textbox in a 'Draw GUI' event. In this event, I have a script that draws scrolling text inside the textbox. I need to draw an object on top of this box because when I use the draw_sprite function it messes up the animation on the sprite. The problem is...
  17. Frisk17

    GML Word Wrapping not working

    I'm trying to do word wrapping by replacing " " character with "\n" I take the max length(OF CHARACTERS) and of the string then apply one every time limit crosses... ///@desc string_wrap ///@arg string ///@arg max_width //SOME VARIABLES var str = argument[0]; var max_length = argument[1]...
  18. Ephemeral

    GML Universal Nineslice Script

    GM Version: GMS2 Target Platform: All Download: N/A Links: N/A Summary: This is a basic universal script utility for drawing a nineslice, which is a textured box that keeps the proportions of its edges when you scale it. Tutorial: I've done my best to make this script entirely self-contained...
  19. L

    GUI(healthbar) not scaling with zoom (GameMaker 8)

    Hello, I'm using a fairly older version of Game Maker which does not have the GUI draw event included, or any GUI codes by that means. My "GUI" in this case is just a drawn healthbar. My problem is that it's scaling down when there's a zoom-out. Basically, I have two characters in a room...
Top