• 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!

lag

  1. Jihl

    GameMaker Issue with keyboard check

    Hey there guuysss... Somehow my game manages to get spikes on the keyboard input but not in the actual FPS of the game, that makes my game sometimes miss a keypress and when you are chatting it is very uncomfortable. I have used the debugger to ensure it is not an FPS drop when a key is...
  2. T

    Gamemaker resource tree is lagging [1.499]

    Hey all My game is running fine once it starts, zero lag, everything runs as it should. All good there. The problem is that gamemaker itself is lagging, in the resource tree specifically. If I need to choose a new object to place in a room from the drop down menu, it takes MULTIPLE clicks to...
  3. sercan

    Android Simple game lags too much

    Hi friends. I am working on a very simple game. It works fine with testing on pc but when it comes to android device it is lagging on phone. I have samsung s8 plus so no doubt about device performance. I use game maker studio 2. In one room there are only two of moving objects. I use 1920x1080...
  4. FlatulenzaFiamm

    GML Visual Lag when Sound Effect plays.

    DISCLAIMER: I'M USING GAME MAKER 8 Hey everyone, It's me, again. I basically finished my tech demo, and of course, even at the end I have problems... As the title says, when I play a sound effect, the entire game freezes for about 1 second and then makes the sound. That's pretty weird...
  5. B

    iOS GPU lag

    Hi! My game is laggy on mobile platforms, but I don’t know why. On the iPad “The time required to clear screen each draw step” , on the iPhone “GPU left over time” is very long. My settings: - One texture page, which 2048x2048 (when I use 1024x1024 texture, the same thing happened.) - Vsync...
  6. M

    GameMaker Large amount of tiles need to disable tiles outside of view

    I can't find a way to do this. I quite literally make the entire static game room out of tiles and grid data. if I increase the size of this past 1024x1024 by anything more then around 400, my draw step goes up at least 80% cause massive lag. the only reasonable way to get both the larger...
  7. F

    HTML5 Game does not run smoothly in HTML5, any ideas?

    Hey everyone, I've been testing builds for my game to see if I can export it in the Web format and so far I have not encountered any major bugs, I do however notice some sort of a stutter or lag when my objects move across the screen. About 9/10 times when testing it on GameJolt I get this...
  8. I

    Horrible lag when running GameMaker 8 and below made games

    Ok, so whenever i run a game made with the "legacy" 7, 8 and 8.1 versions of GameMaker (whether it be me testing a gmk or just running an executable), the games suffer from heavy framerate drop and run very slowly, this started happening quite a few months back and i have tried everything to fix...
  9. R

    HTML5 Laggy in HTML5

    The game runs perfect until I test it in the html5 platform instead of the "test" platform. In the html5 platform it seems like the fps is much lower, making it laggy. Does anybody know why this is?
  10. Kyrieru

    Windows mouse_x is slow?

    If I do this in the end-step event, x = mouse_x It lags behind the actual windows cursor by a lot. Is there something I'm missing, or will it always be a step behind? Semi visual solution: Because my initial goal was to change the game's cursor to indicate functions, I ended up using the...
  11. P

    Pause menu causes major game lag, how to fix this?

    Hello everyone, I am currently in the process of making my first game and I have managed to make my pause menu. I have done so by virtue of adding an invisible object (o_Pause) into every room which is programmed that upon pressing the backspace button that it deactivates all instances and...
  12. A

    GameMaker Simple Game is lagging.. fps_real in the hundreds.

    So I've been making a pretty simple game, but on some devices, it lags from 60fps to around 45. I'm not new to Gamemaker lag, I've worked with delta_time before, but I'd rather try to find the core problem here, instead of hiding it. Each room is 10000px square, with <100 objects, half of which...
  13. M

    GameMaker Apparent input lag?

    Long story short: Somewhere between the game input and the graphics pipeline there's something noticeably delaying what seems to be the reaction of the game character to input. Where should I start looking? Any suggestions on input optimization? Have anyone else dealt with this?
  14. H

    Discussion Strange background bug [SOLVED]

    Edit: SOLVED! I managed to fix the bug by resetting the background every time the room starts up. I did this easily by making a small script; background_ID = layer_background_get_id(0); background_sprite = layer_background_get_sprite(background_ID); layer_background_destroy(background_ID)...
  15. N

    [Help] Project Lag and slowdown, inconsistent Finish_Frame, RoomSpeedSync and FPS Bug

    It seems that suddenly out of thin air my project just started running at half speed that it was before. I didn't change much other than adding a few scripts and objects that are UI related but its made my game unplayable. The weirdest part is I also tried running earlier versions of the...
  16. I

    Need help with random biome generation

    Ok, so I’ve been following the tutorial series by Talent Lost On youtube for a top-down survival game like don’t starve. However on Part 14, he covers biome generation but doesn’t show how to randomly spawn them. I have tried multiple ways to change the code, and make it more friendly for random...
  17. F

    Legacy GM Game lags, but not when debugging

    I've been having a problem with serious lag (rooms set at 60 drop down to almost 40). I have been trying to find out what is causing it. Whenever I go to a different room, there is a high chance that it will start lagging, but hat rooms lag and when is inconsistent. As well, when I tried to use...
  18. N

    Game freeze/lags when changing room

    Hey guys i have following problem: I made an endless vertical Scroller for Android where the obstacles move from outside the room down to the player. To change the room i have a invisible object that also moves down and changes the room once it hits the bottom of the room. But the thing is...
  19. E

    Legacy GM Other room lags current room

    I have a room where the game starts in, it has a 1366x768 sprite with 8 indexes that. It goes to the next image_index about every second. Afther that it goes to the play room, but then it really lags. If I start the game in the play room it doesn't lag. Starting room (25 fps): Play room (25...
  20. jobjorgos

    Legacy GM huge FPS drop whenever I do 'dash' in a huge room.

    Hi! In my game, I have always 30 FPS (equal to room speed). But whenever I use 'dash' in a big room, there is a huge lag spike. The FPS drops to 14-19 while the dash is active. The dash does the usual run speed x15 for 20 steps + plays a wind sound and then resets back to usual run speed. I...
Top