On Fri, 16 Jan 2009, you wrote:
> On Thu, Jan 15, 2009 at 6:53 PM, Richard Jones <[email protected]>
wrote:
> > I'd really like for scene transitions to not generate those extra
> > on_enter/on_exit events. Does this bother anyone else?
>
> you mean the ones that you get when the scene is no longer the main
> scene, and then its a child scene, so you send the events again?
Both the entering and exiting scene get an addition on_enter/on_exit. If
there's an enter and exit transition then there would be three
on_enters/on_exits for a given scene which is really only being displayed
once.
It means the semantics of on_enter and on_exit are muddled. What does an
invocation of them really mean?
How do you handle animation timing which should start "when the scene is
displayed"? How do you handle setting up expensive resources which shouldn't
be loaded outside of "when the scene is displayed"?
> how do you plan on doing it?
No idea at this point.
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---