I’ve spent weeks tracking down a memory leak that I’ve ended up solving by simply removing the previous storyboard scene with the storyboard.removeScene() function (I’m not sure why this was the fix as I had expected a low memory state to automatically remove low use scenes)
I’m working on a game that will allow the player to transition to and from many different scenes (able to come and go to the same ones many times). Is there any reason not to just build in a storyboard.purgeAll() on the enter scene event of each scene? Since each scene is self contained recreating it each time it’s called shouldn’t be a problem should it?
What types of games/apps would you not want to create and destroy scenes on a one by one basis?
Thanks for any insights anyone can share, I’m trying to better understand how to get the most out of the Storyboard API. [import]uid: 105707 topic_id: 31734 reply_id: 331734[/import]