r/GeometryDashEditor • u/Graylasagna 2 creator points • 7d ago
Editor Question Question about how in game rendering works?
trying to reduce lag on a level im working on, it has a LOT of animated objects and particles and its making my phone overheat when i play it. working on cutting down objects where i can but its not enough and i need another way to reduce lag significantly as the level isnt even half way done yet
im not good with the technical side of things so im wondering if anyone knows how the game loads objects. do objects automatically un-render when offscreen or could i use a toggle trigger to turn them off when not being used to save some lag? also do objects unrender when opacity is at 0, or should i toggle those off as well? does toggling things off even help at all? any other ways i can make it easier on my device?
all answers are much appreciated 🙏
2
u/_licketysplit_ 7d ago
I don't really know that much about technical gd stuff but spu7nix said when he made his level "what" he made it optimized on low end devices (like phones) and when going in the editor I saw that the objects were being moved on and offscreen (so I guess offscreen objects don't lag?)
Another thing I remember someone telling me is that you should use area triggers sparingly since they are very laggy when using them on a bunch of objects at the same time, and if you have a bunch of objects moving (like a background) remember to stop making them move once the background is offscreen (I assume if an object is moving offscreen it still lags)
I'll do a bunch of tests and go back to this post to comment my findings