Hi. I would like to hear advice from you ... There are infinite levels, which are generated by objects in the environment. Will the game run faster if you create objects in advance and simply change their position, and not to create each time new and delete old ones? After creating objects also takes performance and change the position of old objects correctly?
P.S. Sorry for my english ...
When you load a layout with all the objects already, the performance is better than creating in a runtime. I think you only need to have them outside the layout and, on start of layout, destroy it if necessary. So, in your case, I'd keep all objects at the moment of layouts loading and then let the events do the rest.
[quote:1ghq9ozv]Not placing all used objects in the layout
If objects are not placed in a layout but are created by events, Construct 2 will load the textures for those objects the moment you create them. This can cause a momentary pause or "jank" and make the game feel less responsive. This can be avoided by placing any used objects in the layout. They can be placed off-screen and destroyed on startup to avoid interfering with the gameplay. Then Construct 2 will preload all their textures when the layout starts, avoiding any "jank" as they are created and destroyed at runtime.