gui

  1. KyleRansford

    GMS 2 Issues with Sound Gain not Displaying in GUI

    I've added a volume adjustment to a game, and all is working. The BGM and SFX gain is lowered. But, with the BGM sounds I have in the default group "audiogroup_default" and I set the gain by choosing a percent using "audio_group_set_gain(audiogroup_default, 0.50, 0);" and so on. and I get the...
  2. D

    DrawGUI in relation to object coordinates with rotating camera

    Basically I want to draw a line from a GUI element to an objects position in the room. I adapted the following from an old forum topic [solved-translate-gui-to-game-view-coordinates.27101]. The object in the room updates its GUI translated coordinates each step: //get camera position...
  3. P

    GML Help With GUI_set_size Please

    global.VIEW_W = 960; global.VIEW_H = 540; global.VIEW_RES=global.VIEW_W/global.VIEW_H var camera_W=global.VIEW_W; var camera_H=global.VIEW_H; var screen_w=display_get_width(); var screen_h=display_get_height(); var screen_res=screen_w/screen_h; if(screen_res>global.VIEW_RES)//Screen is Wider...
  4. N

    SOLVED Surface with shaders displaying blank window

    Greetings developers! Recently I was playing with surfaces and shaders and I've managed to create (by following some tutorials) a simple lighting system with some shaders. It worked perfectly on my demo project but when I tried to apply it to my main project it didnt work at all... I don't...
  5. Mortalo

    HTML5 Bug with surface_reset_target in Draw GUI?

    So, I'm converting my game from windows to html5. I knew that there would be some changes needed, but I was not expecting that I will have to forget about any surface use in the GUI layer. TL;DR: In Draw GUI events, surface_reset_target makes drawing on the GUI layer to not work properly. Let...
  6. A

    SOLVED Farming RPG Tutorial - Cannot find "Import Strip Image"

    Hi, As a new french GameMaker user (so excuse my mistakes), I'm trying the software with the free trial and will most likely buy the creator licence. In the Farming RPG Tutorial, I have to "Import Strip Image" but i can't find it in the current IDE (2.2.5.481). I searched on the forum but I...
  7. Adry

    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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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 ...
  14. 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...
  15. 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...
  16. 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?
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Top