gui

  1. josyanf1

    Screen rotation (No Android)

    Hello everyone! I'm doing a vertical shump and I would like to know how to rotate the screen vertically (TATE Mode) so that it is like the Ikaruga of Nintendo Switch. I tried with image_angle, but the GUI does not rotate and also the black bands on the sides cover what is missing from the...
  2. JeanSwamp

    GMS 2 GUI Sprite Based Menus

    Hello, I'm trying to figure out how to make a Pause Menu, heavy sprite based. This is an example of what I'm looking for: https://gfycat.com/WelldocumentedBarrenAndeancat I suppose it needs to be Drawn to GUI since this would be a pause menu and I want to switch between menus in a similar...
  3. samspade

    Asset - Objects Button Pack

    Available for GMS 2 (with the exception of array initialization, should be backwards compatible with GM:S 1) GET IT HERE Description This project is meant to be comprehensive and easy to use. The goal is to provide the foundation for virtually any standard button, slider, toggle, etc that you...
  4. L

    GMS 2 gui scaling trouble

    Hello, I am having trouble scaling my gui. so I have the automatic drawing of the application surface turned off, and am drawing the game surface manually and scaling it myself. for testing purposes i'm letting my game run in its native resolution ( no scaling ) and am centering it in the...
  5. H

    Question - IDE [SOLVED] Debug Tab not showing up

    Hi, I'm trying to debug my game, however, when i press F6, click the debug button, or go to Build -> Debug, the game compiles and launches but the Debugger tab doesn't show up anywhere. The output screen shows that the debugger apparently connected succesfully, it's just nowhere to be seen on...
  6. N

    GMS 2 GUI Menu and Buttons

    Hello, I would like to ask you for advice on how to implement a menu with clickable buttons. I can not understand if it's better to use objects, sprites drawn on GUI or both. My idea is to create a simple grid in the center of the camera that contains several clickable and indipendent buttons...
  7. J

    GMS 2 help scalling the game.

    Im working on a new game prototype, but i ran on a problem, once i tried the game on another computer, while the game itself scaled down, the gui was acting like it has on the full rsolution, so how do i rescale the gui (making it big or small) to fit on the display? note: the game currently...
  8. W

    GMS 2 Allowing multiple aspect ratios without stretching display

    hi I've been stuck on this one problem for about too long now: adjusting the resolution without stretching/scaling the game. I'm using a view that follows the player and when the aspect ratio is changed i want the view size to change, leaving the GUI and object/sprite sizes the same. Like...
  9. Zek

    Asset - Scripts ZekUI - Windows-like GUI Framework

    GameMaker: Marketplace Price: $4.99 Platforms: Only tested on Windows, but should work on most other ones (Except HTML5). ZekUI is a feature-rich GUI framework for GameMaker: Studio designed to make Windows-like tools and applications. The framework uses surfaces to only redraw widgets that...
  10. MilkMan5x

    Released Sincerely ImNotGUI - Immediate mode GUI

    Sincerely ImNotGUI - Immediate mode GUI Original Idea from Omar Cornut's Dear ImGUI -------------------------------------------------------------------------------------------------------- O no another GUI? ImNotGUI is Immediate mode GUI, which means you don't have to set up all those elements...
  11. PlayerOne

    GMS 2 collision not matching object when scrolling?

    There seems to be some sort of odd bug where the collision box and the actual object do not line up on the y position. When the game is running and when I scroll through my merchants inventory with the middle mouse button the inventory objects will scroll up and down on the y position, but the...
  12. H

    GUI sprite appears at a random spot when I enter the room

    Hello! I have encountered a strange issue where one of the GUI HUD elements is drawn both where it's supposed to, in the corner of the screen, but also in the middle of the room at approximately 4 times it's original size. At first I thought this was texture swapping occurring but increasing the...
  13. MIchael PS

    Legacy GM GUI width is going crazy (?)

    Hello, Another small problem here, I have set a view in the room 300 x 300 and its viewport 1200 x 1200. Then inside player's Draw GUI, I said: draw_set_halign(fa_center); draw_sprite_ext(spr_bullet_sign,0,view_wport[0]-200,100,6,6,0,image_blend,1)...
  14. WindCat

    Asset - Scripts WOKET UI v4.0 - Free, Easy, Tree-based UI System

    ( WOKET UI v4.0 ) Marketplace Link : https://marketplace.yoyogames.com/assets/6026/woket-ui [ Important functions of W.UI ] - Tree design ui - Check which UI the mouse is on. (Top UI) - Automatic drawing order - Coordinate correction according to parent node - Easily designed using layers in...
  15. GDK

    GMS 2 Draw GUI - not working properly?

    Hey guys, I'm having an issue with aligning the GUI to where I want it. I think I know what might be the issue but I'll lay it out here and see what you guys think. So keeping in mind I want a very centralised layout of the GUI: How I've currently tried to achieve a centralised layout...
  16. V

    Portfolio - Art 2D Artist

    Hi! My name is Vikki! I'm a 2d artist. I draw in different styles all that is necessary to create games: illustrations, characters, icons, animation, promo-art, concept art, objects, etc. I have already created all the graphic materials for several games, and I am always ready to cooperate ;)...
  17. PlayerOne

    GMS 2 [SOLVED] Drawing an object on screen

    So far this code will position an object on screen (not in the gui) and can be interacted with. This all works as intended. However every-time the player moves the object in question will shift slightly while still staying in place. I checked other forum posts for a solution but the results...
  18. S

    GMS 2 Draw GUI Error [SOLVED]

    I've been stuck on this error for about an hour. I'm getting this error: "trying to index a variable which is not an array" It's being caused by these scripts: draw_text_color(rtx, rty, left_shift+current_array[current_val]+right_shift, c,c,c,c, 1); var circle_pos = ((current_val -...
  19. S

    GMS 2 [SOLVED] Scaling the GUI correctly to different screen sizes

    Everything below works for my screen, including the GUI functions (my screen is 2736x1824). Room Creation Code: view_visible[0] = true; view_enabled = true; // Variable used to change gui ratio and/or gui aspect ratio. if this is changed, this same variable needs to be changed in the Create...
  20. L

    When Changing room, my score GUI resets to 0

    When I change rooms in my cookie-clicker type game to an upgrades room, my score resets to 0 when I change the room (I am using DnD language and have very basic experience with GML). Is there any way to get my score to save when changing rooms? Cheers, Louis.
Top