main.lua
with a Runtime: addEventListener(“system”, onSystemEvent)
game.lua
with a function cleangroups (objectOrGroup)
password.lua
lets say the app is in game.lua and the listener from main.lua comes triggered… it starts the password.lua
my problem: than I can’t anymore call the cleangroups
so my question. Is there ANY Way… to say, when I enter password.lua
to remove all previous created groups (to free all used memory from before)
finally than i Would have a clean start. Now I always have parts from my
game.lua on the screen.
thx
chris
[import]uid: 4795 topic_id: 20890 reply_id: 320890[/import]
I have a scene, and then i change to scene 2, then i need to back to scene1 again. But when i back to scene1, everything should be loaded from zero. Like is a new scene. In another worlds, works like restart.
But, don’t know why, using director to that, it`s like the first scene 1 loaded first, process some functions for some miliseconds before clean it up and load it again.
So, looks like scene1 loaded first is affecting scene1 loaded for the second time, even if it was for some miliseconds.
Anyone had a problem similar? [import]uid: 124613 topic_id: 20890 reply_id: 93365[/import]
I need to see the code you’re using before I can say anything. Send some sample code of the issue so I can properly diagnose it. [import]uid: 49520 topic_id: 20890 reply_id: 93395[/import]