Hi,
I created a level editor for my game and now when I import a created level in my game I let my game put the levels objects on the editor blocks that my editor made (with an for each command. Now when I start the game the for each command doesn't stop placing blocks so it places the blocks on each other. I wanted to delete the overlapping blocks so the blocks that are not necessary are gone and don't decrease the FPS. I tried it also with for each, is visible, is overlapping another object, on collision with another object and on collision at offset. But it always destroys all the blocks. At the moment I set an object count limit for each object type.
Is it possible to set the object count limit the same as the amount of editor blocks that have the frame for each individual object playing (the frames "show" the game where to place which block).
I coloured the levels objects in this text so you can distinguish it better.
Thanks