gui

  1. xDGameStudios

    Asset - Scripts [BUFFERS] xBufferViewer is a GUI for buffers (v1.0.1)

    [LINKS] https://marketplace.yoyogames.com/assets/9617/xbufferviewer https://xdstudios.itch.io/xbufferviewer [SCREENSHOTS] [INFORMATION] This asset is composed by a BufferViewer structure (new in GMS2.3) that allow for visualising/selecting/copying buffer contents. The viewer GUI is fully...
  2. CrissFifo

    Asset - Scripts Bunch Of Colors 2.0, +700 free colors for your GML code

    Expand your color palette. Get it for free [Yoyogames marketplace] With this free asset you will get a really huge collection of colors, each one with 4 variations and for each variation 11 values of color, really useful and a great time saver. The 4 variations are {color} vivid_{color}...
  3. master2015hp

    SOLVED GUI isn't drawed correctly

    Hi, i have my room at size of 1280 x 720. I setup some objects at the bottom left of the view. They're drawn all via drawGUI event. However when i run this app on my android phone, which has resolution of 854x480, all of those objects are displayed off screen. How can i make sure they always...
  4. FoxyOfJungle

    SOLVED Scrollbar problem [Partially solved]

    I'm trying to make a simple scrollbar work, I managed to do the main thing, which is to move it. The scrollbar function returns a value between 0 and 1. What I want to do is move the Y of an area according to that 0 and 1. The video below shows what happens: The video is a bit long, but I...
  5. FoxyOfJungle

    Alpha UTIKI - UI Editor for Game Maker Studio (Contains DEMO) [Alpha, v0.1.0.0 - 23/01/2021]

    Presentation: Hello, welcome to the Utiki - UI Editor working in progress devlog topic. "Utiki - UI Editor" is a software that aims to streamline the process of creating interfaces for games, using a Drag and Drop interface. This is a WYSIWYG (What You See Is What You Get). Current...
  6. P

    GMS 2.3+ Draw_text _transformed pixel distortion

    So, in short, I just try to use up and down scailing of the GUI element size to emphasize the input in the menu of my game. And it works fine, but the pixel distortion is really noticeable on my screen. The font size is 26, and the scailing happens between 0.9 and 1.1 synchronously for x- and...
  7. FoxyOfJungle

    SOLVED [DISCUSSION] I need opinions (and help) regarding building an interface (views, surfaces, cameras, Draw GUI...)

    Hello ! Look at this interface image: This is an interface. I want to use the DRAW GUI event to draw ALL the interface of the program I'm doing (everything inside it...), however, I need to draw the camera view in this middle area (where is the rabbit). The questions: 1 - How would I do...
  8. kadinshino

    Windows Issue loading file after separating Windows out.

    Im feeling really stupid right now....I have a ton of work on a project I did today and I can't open the file because I did the stupid... for whatever reason when you separate windows and close your project. it will cause the file to become un-openable. it attempts opens all the separated...
  9. Evan Kinsler

    GMS 2.3+ [SOLVED] Slight problem with panning camera.

    Now the problem here is that I have the camera panning when obj_player reaches the very edge of the camera. What I was expecting was the camera starting to pan when obj_player reaches the VERY MIDDLE of the screen, and when the camera reaches the edge of a room, obj_player will move to a...
  10. S

    SOLVED Hi. I am trying to code a score and lives ui for the top left hand corner of the screen. It's not working.

    Hi. Basically i have coded a ui for the player's score and lives. Yet i am having 2 problems with the outcome when i press play. The first problem is that the string SCORE and the string LIVES are on top of each other (i am assuming the same x and y coordinates) and are not how they should be...
  11. I

    Solved - Drawing Rectangle over time in GUI

    Hi, I have some semi-working code in my project that runs a script when the player clicks on certain tiles in-game. I'm struggling with slowing things down to get a smooth look! What I want to happen is: The player clicks the tile. A small blue bar appears in the tile below and fills from...
  12. P

    What is wrong with my code (GUI is drawn improperly after adding different screens support)

    Hello everybody. Actually I am having troubles implementing aspect ratio managment stuff as always. I used Pixelated Pope's tutorial for old version of GMS, but I have spoilt somthing trying to implement it in my game (GMS 2). So, at first I was using GMS default stuff: Set the viewport and...
  13. William Garrison

    GMS 2 Text Box Height

    How would I go about capturing the height of text that is being written to the GUI? Not really sure what code to paste here. Right now I am drawing a box with 9 slice, the printing the text on top of it a character at a time (like most games). Below is what it current looks like. The height is...
  14. Christop777

    GMS 2 Replace black borders by a GUI background

    Hello, I need your help because I don't know what to do now: I've just finished my first game for Android and iOS smartphones. The resolution of my game is fixed : 720x1280 (portrait mode). "Keep Aspect Ratio" option is on in GameMaker Studio 2. The game display is fine when running on iPhones...
  15. TomOmNom

    How to make a GUI Switch?

    I was wondering how I would make a switch in the GUI that can be called in an if statement to get its on-off position. I couldn't figure out how to store the on-off position properly.
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Top