Hi,
I’ve read and skimmed what I could find regarding Storyboard API but I can’t get my head around how to integrate it into my game.
I understand that there are two events for entering a scene and two for exiting but how should I define that which codes should be on which events?
My game has A) some stuff that runs one time like initializing the game, B) there are some event listeners that registered for touch events and touch handlers and C) Some codes that are registered to enterFrame to update game logic and a timer to update HUD.
So how should I integrate these 4 events into my game?
And should all my code be in any of these event listeners or it can be on the outside parts as well? I think we can because I’ve read that codes outside these event listeners run only once, and that’s logical, but what type of codes should it be?
I’m doing this mainly to reload and restart my game, since I do not want to store anything from gamer, can I safely not de-init and nullify and just remove the screen or I have to remove everything from scene and then nullify it?
Thanks. [import]uid: 206803 topic_id: 35395 reply_id: 335395[/import]
[import]uid: 75779 topic_id: 35395 reply_id: 141404[/import]