• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

gui

  1. M

    Image loses its transparency

    Hey guys im having an issue with image transparency. I created a gui with transparent back ground and then used it as a sprite. I used the code draw_sprite(spr_GUI,-1,0,0) to draw this sprite on the GUI view. But when i run the game the transparent background becomes black. Kindly help me solve...
  2. A

    GML Help with aspect ratio

    Recently I've realized that when testing my game on screens with different aspect ratios, words (or whatever is being drawn on Draw GUI layer) tend to go off screen. Now I've been experimenting with "display_get_gui_width" and "display_get_gui_height", which keeps the text within the window but...
  3. A

    Windows Blurred unpleasant text (GUI and Code Editor)

    I don't know if I'm the only one who find all the text appear in GMS2 (GUI and Code editor) very uncomfortable and unpleasant to his eyes. after only one hour of working i couldn't keep looking to the screen anymore, it really hurts! i searched for GMS2 screenshots on the internet so I'm really...
  4. J

    Discussion When application meets gaming

    most of my programming ideas tend to be a blend of application plus game mechanics. Which turns out to be more difficult for me than you would think. As how do you integrate one into the other? Write the application then add gaming elements? Or vice versa? Would you try and write it all in...
  5. I

    Legacy GM Convert screen position to room position? (or something)

    EDIT : Resolved using this code thanks to user ariak : (1440x900 is my game's resolution.) // DRAW GUI with(self){ draw_text((x-view_xview)*(1440/350),(y-view_yview)*(1440/350),"TEXT") } Basically, I hate how drawing text in the normal draw event makes the text blurry as I zoom in, and...
  6. J

    Portfolio - General I can help out on small projects-gui, gml, inventory, design, dialog etc

    Hi Ive been using GM since ver 6 off and on (2004). Im an intermediate gml person with a smattering of python, basic, visual basic, and GAMBAS thrown in. Im not looking for full time work, I actually own a carpentry furniture making shop and I program for fun. Currently Im messing around...
  7. A

    GML GUI Scaling Not Working with sprites

    SO... Here is the issue, I would love to scale my video games for full screen, but the GUI elements will not scale. So say for example, I am drawing a spirit to the screen at a certain position. And the game is scaled to full screen mode. Also if the game is just opened full screen. The GUI...
  8. N

    screen_save just take some part. not full screen.

    Hello, help me. I want to take screenshot. And i use screen_save("screen.png") or bmp. But it works like a foolish. It cuts it self. I can take only some part of screen. I did not use screen_save_part. I think problem is my phone's resoulution is diffrent with my room size. But i don't...
  9. A Random Creator

    Legacy GM [Solved] Get an object's coordinates on the GUI layer

    I have a chest object in my game that shows what is in it when you click on it. The problem is that I want the inventory to be drawn on the GUI layer but still next to the chest. The issue is, I don't know how to find out where on the GUI layer the chest would be. Any help is appreciated! ;)
  10. A

    GML Want text drawn when button pressed and destroyed when pressed again (GUI)

    Ok so what I want is walk up to an object (collision) press vk_up to draw text (and keep it there) and the text destroyed when vk_up is pressed again. At the moment the text only appears if the vk_up is held down and disappears again when I release it. I've been searching web for while now but...
  11. T

    GML Constant for Room Scaling?

    I'm trying to create a little text box engine but I've run into a problem. When the game gets resized, everything remains small, and the gui is off centered. How can I scale everything so the game appears precisely as I want it to for any screen size. There must be a setting to make everything...
  12. Xer0botXer0

    GML Objects are resizing as view is zoomed out

    Hi fellow game devs, Hope everyone's making some good progress in their game projects! So I recently implemented the use of a view in my game and the idea is that when when I zoom out my GUI objects should still retain their sizes and not move. The moving part I got right, but when it comes to...
  13. N

    Question - Code Why is my GUI text bugged?

    I believe I made a mistake posting it on this forum. My problem appears to be similar to the one here. Top: Draw Event (Normal) Bottom: Draw GUI Event (Artifacted) It happens even in a blank room with only an object to draw the text. I've tried messing with fonts and anti aliasing, but it...
  14. D

    Legacy GM Help Changing Image index in Draw Event

    Hey quick question, I'm trying to change the index of a UI sprite. I put it in the draw event, and tried changing it in the step event but I'm not sure if GameMaker allows you to change sprites like this. //Draw GUI Event draw_sprite(spr_slayerlevel,0,58,52); // Step Event with...
  15. W

    Problem addressing obj inside another obj

    Guys im making a cut-scene with 3 characters in it. I have a script that creates an obj_text with a text box and some animation. The problem now is that i want to fast forward the animation of only the textBox that is appearing on the screen. For that i´m doing another script that will receive...
  16. Tthecreator

    Asset - Scripts uiZ - ultimate ui framework

    CLICK HERE to go to the marketplace! Click here to got to GitHub! It feels good to finally up this tread on my latest ui asset which I have been working on for years now (I think i started in 2016 somewhere). I've now made uiZ FREE and OPEN SOURCE for any non-commercial usage! Please checkout...
  17. P

    Question - IDE What is this?

    Sorry for the newbie question, but these numbers just appeared on my draw event window. What is this? How do I remove it? Thanks.
  18. E

    Legacy GM Draw GUI and Text

    I am making a very pixelated game with room/view sizes being around 200 x 81 and the port size being 1632x918. I figured the best way to do text would be using GUI. So far it looks but I am having trouble placing the text in the room. No matter what value I put in for display_set_gui_size it...
  19. G

    Legacy GM A way to bypass a shader.

    Is there anyway to bypass a shader other than using a GUI (to clarify I mean a draw_sprite function in a Draw GUI). Why don't I want to use a GUI. It's sticking to the screen, and I don't know anyway to stop doing this, or remove it without removing the object it's made from. Thank you for...
  20. M

    Android Scaling?

    Hi! ^^ I have a Puzzle Game I'm working on, all fine except for this annoying "scaling".. Here's the matter: Every room in the game has the same size, 1334x768. If I run the game on my phone, wich is 480x854, everything's ok. But I tried to run it on another phone, with a much bigger display...
Top