Yes. Something like that.
Iām going to assume itās yes with the second one, so that helps us isolate it to a problem with the scene
Iām afraid nope. I didnāt used a occlusion culling stuff but just full sprite object of tilemap.
Can you make a list of Extensions and Behaviors you use in your game?
What your describing is a memory leak, kinda like what we were having with the FlexBox or Flex Container Extension.
Do you use that one?
Oh no sorryā¦ i just saw the debugger videoā¦
I dont see any problematic extension, in fact id say the ones you are using are kinda working relatively āwellā i guessā¦
Stillā¦ its kinda interesting since what your describing is a memory leak, your game is slowing down over timeā¦ and i have no idea how to do that with just events.
So maybe theres another extension causing memory leaks?
I donāt have any extension installed but just on-screen and gamepad support on my largest project.
Hereās my Extension.
In one scene it doesnāt lag if you have too much enemies because i already optimized it everything i could. But when you play over hours straight with 22 level scenes it starts lagging. So it must be a tilemap png problems in largest sprite object.
Just to confirm, your using āChange Sceneā and not āPause and Start a new Sceneā right?
What your experiencing is some sort of data pile up or memory leakā¦ its got to be coming from some where
I actually using just āchange sceneā for sure but i didnāt put that āpause and start new sceneā or an unusable thing.
UPDATES!
So yeah i have to start tilemapping all over again but this time i directly putting the JSON files into GD5 instead of exporting as PNG that caused a lag and/or performance issues. Other things in EventSheet i optimized everything as much as i could.
It could be some variable for each event repeated again over scenes.It doesnāt looks like ure using heavy extensions.
Btw imho we reeeeallyyyy need a tilemap level builder inside gd with collision support and āmouse draw supportāā¦Something faster than the actual editor.
I spent 5 years on Tiled and in the end its integration to GD is a fkā¦g mess.
It is fine if youāre making a single scene gameā¦but with game like thisā¦itās just bad.