optimisation

  1. R

    Legacy GM Dungeon Generation and General optimization

    Hi again everyone! I recently decided to give procedural / random dungeon generation a go (my system is a little mix of both) based on the principles of cellular automata. So far my system is working quite well, however I'm a little concerned about the potential performance of my system and was...
  2. Gamerev147

    Help Optimizing My Game

    I've had many problems with almost every game I make with lag. I've watched so many YouTube videos on how to optimize your game maker games, threads on what people have tried. I've also started using alternative synchronization in the global game settings, to no avail. I've spent countless...
  3. RyanC

    Android Setting graphics - based on device hardware spec.

    Hi all, I'm currently in the process of coding an auto graphics optimization script for my game and was wondering if anyone knows how to go about this. For example: On the Galaxy Tab S2, the game needs to run at a smaller resolution than the devices resolution to prevent lag. This is also true...
  4. T

    GameMaker Game Running Slowly

    I have been having an issue with the game I have been creating. On my new laptop, the game randomly has poor performance. Nothing in my game is stored in memory, so I don't think it's a memory leak. I am using cameras, I heard they cause memory leaks, but all I do is create the camera with the...
  5. G

    Optimising Primitives

    Okay so I've been making my own isometric engine which uses textured primitives to draw blocks and then surfaces to draw lighting on both horizontal and vertical surfaces and it looks pretty cool. My problem now is that when I draw more than about 10 blocks on screen at any one time my FPS...
  6. M

    GML Spawning off screen a group of objects?

    Hi all, So I'm looking to spawn a group of object off screen that will slowly move onto screen. Once they get a point it will pick another group of objects and spawn them of screen and so on. Sort of like a endless runner. I want to have control of where the object spawn setting up the...
  7. J

    Is this game feasible?

    Hello! Before I begin, I have to say I do not have Game Maker: Studio. I am using GM8.0 Pro. Unless I finally decide to get Studio, that is. I have an idea for a game. What do you think the efficacy is, of making this game in game maker: A simple, yet emergently complex, highly interactive...
  8. L

    GML I figured out how to have huge room sizes and no FPS drop.

    Titled says it. of coarse u can check if an object is in view, and you can even loop through all Ur objects or tiles. But things become problematic when you start increasing your room size. it'll be loooots of checking if ur room is 10,000x10,000. well i figured out how to check for only the...
  9. Z

    GML Q:Linear Approximation (Newton)

    Hi, so ive came to know about a linear approximation method from a video about how quake 3 devs optimised it and a guy gave a link to this site for more detailed explanation. http://www.math.brown.edu/UTRA/linapprox.html#top but i cant understand this way of explanation so i decided to ask...
  10. M

    [SOLVED] There has to be a better way (for/repeat loop optimisation)

    Context: I've made a simple algorithm that loops through data and creates a series of path points, but the end result is a path with thousands of points - which is extremely slow to calculate in a later bit of code - so I'm working on a way to strip the path of redundant data (that is, points...
  11. L

    Optimizing performance with sound

    I want to conserve as much memory as possible for optimal performance as the game has a lot of resources. The information provided for gm sound is quite vague too so I'm full of questions and unsure how to approach thing's. If a sound is loaded into the exe (preloaded or not) does it stay in...
  12. G

    Drawing Depths from Control Object

    So I'm making an isometric game and have recently found that my frame rate is suffering and a big culprit is probably the number of vertex batches being sent to the GPU. So I have set all of my objects to be drawn by a single draw control object as the buildings, trees etc. are drawn using a set...
  13. Ricardo

    HTML5 Big HTML5 adventure game: is a viable project using GMS?

    Hi there! Since I discovered draw_texture_flush() is not implemented in GMS' JS engine, I have serious doubts if GMS is a viable option to make a big HTML5 adventure game. In theory, with the texture flush function working (and using audio groups), I could make a 1 GB HTML5 game without...
  14. Z

    Legacy GM Sprite_index VS Image_index

    Hi, so for some time now ive been wondering about this, which is better to use for static images like on the HUD or just some object in the room, 1 sprite with 100 images or 100 sprites with 1 image? ive heard that its better to use sprites with single image.
  15. JasonTomLee

    Legacy GM Fastest way to draw many sprites (static/animations)

    Hey GM Devs! I never really thought about this question but how would you draw hundreds of sprites w/the least amount of lag? I know that creating hundreds of objects is not the way to go haha. But from what I know, using tiles or surfaces is the most efficient way to draw static sprites?
  16. RyanC

    Legacy GM Drawing Isometric Tiles to a Surface

    Hi everyone, I'm trying to optimize the map on my game to get a higher fps by drawing all the floor object sprites to one large surface instead of them all being drawn separately. Currently using depth = -y; My question is how would I go about retaining the depth for when the player walks...
  17. J

    Legacy GM Optimizing Batch Calls

    Hello everyone, I am currently busy with polishing my game and have reached the moment I want to optimize my rendering Pipeline. I have looked into quiet a lot of documentation myself and have done my fair share of fixes so far. Nevertheless, I was wondering, during the progress of my game I...
  18. B

    Legacy GM Nested surfaces VS default draw

    Hello, i'm new to the forum. I'm working in a tree-like based draw sequence, which has various groups calling the draw event of contaied items. (a Group can contain both an item or another Group). My question is: what does perform better? Having each item draw in its Surface, and having groups...
  19. L

    Some question about optimization

    Hey there. I'm currently developing a mobile game but i've some optimization question that i'd like to get some understanding. Now the game doesn't have much stuff in it, with: just 1 room less than 30 object around 17 sprite which didn't even fill half of a 1024x1024 texture page(only 1...
  20. M

    Legacy GM TootSuite / A discussion of unit testing.

    Well I looked around for a place to put this and I may be wrong, but this seemed best. It's not a finished project, it's meant to be edited by you, and it's not a work in progress because its functional :p Maybe it's a tutorial, not sure about that either :D I made a useful unit testing...
Top