Yann:
No global objects, and I am calling "reset global variables" after the level is done.
Kyatric:
Can't post the capx due to copyright issues (artwork is done by client, not by me)..sorry. Here's a description of what's going on:
the game is basically a shoot'em up like the Space Blaster example. In the editor I have placed about 70 enemy sprites with some instance variables like health, point value, etc.
As the player scrolls along, the enemies come into view. Once they do I start their custom movement and the player tries to shoot them. Once the enemy health reaches 0 or when it leaves the layout I destroy the enemy.
Eventually I do a goto Layout ("Game Over") followed by resetting global vars and then return to the same level, i.e. goto Layout("Main"). At this point MOST of the enemies seem to have been reset. But some no longer show up.