Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
SceneManager calls the scene's 'init(t)' each time the scene starts, why? — Gideros Forum

SceneManager calls the scene's 'init(t)' each time the scene starts, why?

SinisterSoftSinisterSoft Maintainer
edited December 2012 in Bugs and issues
SceneManager seems to be calling the"init(t)" for the scene every time the scene is changed to, is this normal or have I got something wrong somewhere?

The demo on github does this too.

If it should do this then what is the point of the "onTransitionInBegin()"?

Also does this mean that assets that are created in the scene are are re-created - what about memory leaks?

Should I release any bitmaps, etc loaded with the init stage? If so, when?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
https://deluxepixel.com

Comments

Sign In or Register to comment.