Yes! got it it was loading it every frame, as soon as i set to create external layout when equal to variable 5 it loads once now, problem solved, thanks for your time
Just a precision which can help you: itâs not because the size of your scene is about 3000x3000 or more that you are in the obligation to do a 3000x3000 background! You can divide the size of your background (in external layout or not) in smaller objects size you can then manipulate with your events.
Thus, GD will react more quickly.
I used this method for my Canabalt game.
You know how to remove external layout?
You can delete the external layout in the start page
No Im saying how to remove during gameplay, for better performance
For example to load we use âCreate objects from external layoutâ so whatâs the command to delete or unload it
I donât know if there is a action like that because I did not see that. But, you could use the destroy when outside of screen function or something like that.
The problem with âdestroy when outside of screenâ is does not load back again when i go back to that place which is destroyed.
So is there any way to reload it?
I will test and play with loading and saving parts of the scene because I am also looking for this and let you know when I am done.
Tell if you find a command to which destroys & reloads objects. If there is not we should request to add the feature in the update of Gdevelop. Because it will allow to create larger levels without thinking about gameplay performance
You can add a variable to each object on the external layout to mark it as being on the external layout. Then simply add a condition to check or that variable.
Sorry that I havenât responded in a while. The thing is I did not get the time to fully play with it as I was switching to another OS and was busy setting up things. but, I promise I will be giving you a answer ASAP. Sorry for the delay.
Read my newer whole post to fully understand what It is needed it for
Where? Did you post it here?