Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
is there an option to clear everything from the memory (from a game) when quitting it..on android there are still some things active when playing it again..i do not want to restart at the end of the game. But when starting it again on android..it gives strange behaviours exept when i clear the cache on my android phone.. |
||||
|
there is this command javascript " ccbCleanMemory() ". |
||||
|
I don't think that ccbCleanMemory() is what william meant, this will just free the memory from for example unused textures, but not reset any state data. The game bahaves like any other game there, if you need to actually restart it, you can for example use a "Reload scene" action. |
||||
|
Hi.... I run some similar problem.... which appears to be serious... after Quit application Data of executed and terminated file hangs around in RAM memory ! Even : ccbCleanMemory() ... won,t help any suggestions welcome regards ram |
||||
|
wheres the reload scene action? |
||||
|
'behavior triggered by event' ---> 'cameras and scenes' |
||||
|
Sorry I thought niko was talking about a new action, it's restart scene not reload scene |
|