Have a level editor game (Minecraft-Terraria clone, copy and etc.)
I used awesome plugin "Sprite bank"
Everything works cool.
The problem I have, when I save my blocks, and then load them, new blocks go over old blocks.
Is there is a way to destroy old block and right after that load new?
I tried to do like this:
On Load button pressed - > blocks destroy -> system wait 1 sec -> load blocks
But this causes mistake and Java error and etc.
Can somebody know hot to destroy old blocks before new blocks loaded?