1. mbeytekin

    Screen flickering when using an OPENGL based DLL

    I have a DLL that I wrote in C ++ that processes an image and sends it back to Gamemaker. This DLL is OpenGL based.The image comes on, but it flickers constantly.I tried something like this; If I use display_reset at every step, it doesn't flicker, but of course it causes memory leak.Also, if I...
  2. S

    Quick and Easy Gamma/CRT options

    GM Version: Studio 2 Target Platform: Windows Download: n/a (see code below) Links: n/a (see video) Summary: Tutorial aimed at beginners showing how to implement a quick and easy CRT-like overlay, and how to adjust the "gamma" of your game. I notice the "CRT" and "Gamma" options are becoming...
  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. K

    GMS2 auto scaling and where to find it

    Hi all, I notice GMS2 auto scale up my game to fit the display. My game is designed in 360x640 but then it displayed as 720x1280 on a display. May I know where to find the setting and set it to follow the code precisely?
  5. FoxyOfJungle

    GMS 2.3+ window_set_showborder() alternatives???

    Unfortunately this function has been obsolete for a long time, but does it exist or does anyone know of a DLL maybe that can do that? If this solution is not possible, how would I go about maximizing the window size to fit the screen and not cover the taskbar? I don't want to use it in full...
  6. KyleRansford

    GMS 2 [SOLVED] Game Not Scaling Correctly When in Fullscreen

    I have a game where it's camera size is 640x360 and the viewport is 1280x720 and when the game is run in Windowed Mode, it displays fine (no pixel distortion). But, when I set it to full screen, (using a 1080p monitor) the pixels get stretched (even though it shows black bars and I have it set...
  7. P


    Hello everybody, I have question: what does this function relate on? I mean when I resize my window(here is the code of the resize): surface_resize(application_surface,VIEW_W,VIEW_H) window_set_size(VIEW_W,VIEW_H); view_wport[0]=VIEW_W; view_hport[0]=VIEW_H...
  8. Posho

    Windows Proper Progress Display Within Loop?

    Hello, Hope you're all comfy and safe at home. I'm working on a project that exports like a thousand images upon clicking a button in-game. The game freezes until all images are exported, which takes about 15 seconds. As of now, I keep track of the exportation's progress by writing to the...
  9. S

    full black screen at depth 99

    While I was trying to implement a way of showing object in order of their y-position, I realized that nothing with a depth greater than 99 was showing. It was as if some object had a depth of exactly 99 and was drawing a big black rectangle over the whole room. I used debug message to make...
  10. O

    Question - Code So how to change aspect ratio or display size generally

    Hey all, This one's bugging me. I want to have an option for the player to change between 16/9 aspect ratio and 4/3... I've seen a guide suggesting using the command display_set_gui_size(w, h) but that didn't work at all... Here is the code I have that appears for a persistent object at the...
  11. Architheutis

    Font-error within Game Maker Studio 2

    Hi There, is there anybody else who remarked partial display errors within the GMS2-interface? I updated a newer version of Game Maker Studio 2 one day. Since then something like that (see the image) happens, any time I click on a part within my object ressources. When I shut down GMS2 and...
  12. Leonardon

    GMS 2 How to get a list of Displays/Monitors Available

    Hello, I have 2 monitors and my game always run on the primary monitor that I set on Windows. Is there a way (a code) to retrieve a list of monitors and then select, during the game, which one to use? Thank you Example:
  13. M

    Windows Where Is Arabic Language?

    In GameMaker Studio 2 I Can't Draw Or Display An Arabic Text. Example: Event[Draw Gui] (GML): draw_set_font(fnArabic); draw_text(16,16,"لغة عربية"); In Game:
  14. G

    GMS 2 Android--Detecting/Handling Rounded Screens

    Android phones now sometimes have displays that are physically rounded at the corner. By default, GMS2 will still use the space, but anything under the corners will be obscured. Android provides an isRound() method to determine if the screen is rounded, but to my knowledge GMS2 does not provide...
  15. AcrobatEpee

    GML Adapt room to display size

    Hello, I, in my game, have a code that spawns squares depending on the area I enter in two variables : draw_area_width & draw_area_height. The problem I have is that I want these variables to be set to the display width and so get them to draw squares in all the width of the screen. My room is...
  16. K

    GMS 2 Ip adress ?

    I'm creating a text based game (simular to the watson scott test) and i think that if i display the player's ip adress that would build up a great tension. (like the pc knowing your ip) Any help would be apprechiated!
  17. L

    GMS 2 possible to draw game on two monitors?

    Hello. I have two monitors, and I want to draw my game to both of them, but I want to control which elements show up on monitor 1 or 2. so for example, i want all the hud elements to be on monitor 1, and the actual game on monitor 2. I know how to use surfaces. but I don't know if im...
  18. Z

    Android Open status bar on Android

    Hello to all! When a GM creates a game, it automatically hides the status bar (battery, time, etc.) I found where the status bar goes off in "RunnerActivity.java", but I couldn’t do anything about it ( I also found the function "display_set_ui_visibility(flags)", but it does not work. And on...
  19. Krenzathal77

    Uneven pixels in game graphics

    Not sure if this is something that I've done or it's just the nature of the beast. Anyway, I have a PNG file which simulates old school CRT scanlines by just having a one pixel horizontal line every two pixels down. Then I reduce the alpha, and draw it over the view. It looks nice, but I...
  20. Y

    Display rotation android [Solved]

    Hi everyone, i have some rooms that the player will play on landscape mode and other on protrait mode, but i dont want the player to be able to change to portrait or landscape by himself, so the the orientation is locked, basically i want to change the orientation myself by code and have it...