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

performance

  1. R

    Shaders Are there any ways to input & output a large array in a fragment shader?

    Hi guys, I'm trying to make an interactive grided background, something like this: The problem I'm facing is calling draw_line() 2000+ times in a draw event causes a FPS drop. (Btw, any ideas to increase performance of this?) I tried to use a distortion shader for similar effect, but: The...
  2. R

    Legacy GM How to increace draw_line() performance?

    Hi, I'm making an interactive grided background: it runs smoothly for about 10 seconds, then fps start to drop, the debug overlay shows the draw event is taking quite long time, in the draw event, draw_line() is called about 2100 times per frame, I wonder how can I increase the performance...
  3. F

    Windows troubleshooting game slow down

    Hi my game sometimes slows down, the same way programs slow down when they are about to freeze how can i trouble shoot that? any tips?
  4. Zhanghua

    Android Performance refine Help!

    I have created more than 1000+ instances in my game, It looks like very very slow like a snail,,,, I used the release mode, but that couldn't help nothing..... Help me, Thank you very very very much!!!!!!! I use the Android YYC Mode while not the VM mode
  5. X

    GML Is parameter-based scripting at the expense of some performance?

    With scripts, you can essentially create functions of your own in a way. I've thought of cool ways I could re-use some portions of my code instead of writing it all down to execute in one block. But isn't this at the expense of some performance? I know that GML itself is probably some-what...
  6. Bee

    GameMaker Help me with performance

    I have a game, it's basically finished. We were testing it on Kong and it's performance took a nose dive. I've done some things with drawing and putting things behind alarms so they're not constantly running, but it's still got slow down. I can't seem to get profiling to work in the debugger...
  7. Nodamex

    GameMaker Huge FPS DROP

    When youtube is active: When youtube is closed: Do you have any ideas? What could be the solution for this? same issue: https://forum.yoyogames.com/index.php?threads/game-runs-slower-when-no-other-processes-are-active.29703/#post-237718 Note: SS's above are taken when sleep margin is 5...
  8. A

    GameMaker [SOLVED] Recommended target texture swaps?

    I would like to make a 1920x1080 game, but I'm wondering if I'm going to have performance issues later on and should just scale down while I can. I'm thinking I would need about 5 4096x4096 texture pages at a time, considering texture grouping and flushing. Does anyone have any experience around...
  9. Z

    T:Texture pages tests

    So texture pages, theyr sizes and the performance buged me for some time now and i decide to make a straight foreward test. 10 sprites with 64images each with a size of 256x256, so 1 sprite is like 1 2048x2048 texture page. and from there on i change the size of teh texture page from 2k to 4k to...
  10. Luke Pierson

    GameMaker Performance with Big Sprites

    I have not had a problem with this yet, though my game is still in it's infancy. Here's my question: The average sprite, such as my player character, size in my game is roughly 300 pixels or so high and wide. Backgrounds are maybe 1000. My rooms are roughly 4000x4000. Will I have a problem with...
  11. Z

    Graphics Q:Texture pages

    So im not sure if this is teh right part of the forum, its not a programming question so this one seemd most logical. the Q. when is it best to use a larger texture page? like i usually go with the default, but recently ive been dealing with more graphics and i get alot of texture pages and...
  12. H

    Game Lag

    Hey I was wondering if anyone knew how to solve the problem I was having. You see, with some objects in my game when they are destroyed it will lags for a bit with the more times it being destroyed the longer the delay. I don't understand why it is getting increasingly lag-ger as should it be...
  13. D

    Question - IDE What is Sleep Margin? Can it be changed on the fly?

    Hello! In any of my GMS2 projects, if I change the Sleep Margin config parameter for Windows, I get the following results: Sleep Margin = 1 ===> Game runs very slow. Crappy scrolling parallax. Almost no CPU usage. Sleep Margin = 10 ===> Game runs ok. No smooth scrolling parallax. Low CPU...
  14. H

    GML Sprites or Image Blends?

    This may seem like a stupid question , but I was wondering if anyone knows when it comes to performance, would using image blends be more efficient than using different colored sprites. If anyone knows I would much appreciate their help. Thank.
  15. D

    Windows Poor performance of converted game (1.4 to 2)

    So this weekend I finally got GameMaker Studio 2 (yay!) but the game I had been working on in 1.4 runs very slow after importing and launching it... FPS is 520, later dropping to 280, but a graph I found in the debug profiler claims the game is using all 16GB of RAM (even though the Windows task...
  16. W

    GML Functions: Returning an array every step VS. returning values with multiple function calls

    Is returning an array from a function each step performant? Say I wanted to have my collision checking function checkCollisions(checkX, checkY) return an array storing 2 values, x and y, each step... would this be costly? Something like: var collision = checkCollisions(true, true); At the...
  17. Z

    Legacy GM Q:Tiles

    Is there a chanse yoyo will make a deactivating function for tiles? currently im tryin to tile up an overworld but i end up with 50k+ tiles that i have no controll over. now if it were instances, i culd just deactivate the lot of them and things wuld be fine and dandy. how does one deal with...
  18. P

    UWP Game runs slower when no other processes are active

    Hi, When running an UWP game the framerate is lower when nothing else is active on the desktop, but having something more demanding open, like the youtube frontpage, the game performance jumps back to normal. e.g. the delta_time when only GMS2 is active: (value is too high) delta time when...
  19. W

    Windows flushing textures [SOLVED]

    I'm having some issues with small stalls at the start of a particular level in my game. I can see no major differences in this level that stalls at the start, and any other level in terms of how demanding on the system it is. I've organised my graphics into texture groups, and I am using load...
  20. M

    Question about objects performance

    Hey, I have a small doubt. We all know that putting too many instances of an object, the performance will suffer greatly. I try to use Tilesets all I can but some times I just need the collisions and I have too many objects. While my performance is always above 60fps, I'm trying to make a game...
Top