Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handleStageDeactivated and _playing #261

Open
gsynuh opened this issue May 3, 2015 · 1 comment
Open

handleStageDeactivated and _playing #261

gsynuh opened this issue May 3, 2015 · 1 comment
Labels

Comments

@gsynuh
Copy link
Member

gsynuh commented May 3, 2015

@alamboley , Why does handleStageDeactivated check if _playing is true to stop starling again?

https://github.com/DaVikingCode/Citrus-Engine/blob/master/src/citrus/core/starling/StarlingCitrusEngine.as#L322

A good point raised on the forums is that if you manually set playing to false (that only pauses the juggler) , then stage is deactivated, starling will not stop because of that check. but then its force started again on stage activation, I don't know if it makes sense. It might in a special case but maybe not as a default behavior for CE.

@gsynuh gsynuh added the question label May 3, 2015
@alamboley
Copy link
Member

Why stop starling "again"?
Indeed, the manual case isn't considered there... I should check the latest Starling doc to see if that still make sense or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants