Enemy Defeat

@richard

I hope I can add to this post, as I am having a similar issue with sprites and auto destroy. Within a tilemap, I have the set the cars to auto destroy themselves.

When any car hits a wall, in the code I create a sprite and want to set to the other side (for now I put it somewhere in the middle).

The issue I am having is, the blue cars to the left of screen stay there. When a move the player to the right, the camera scrolls right, and when I go back that cars are gone.

Can someone help me out?