Citrus-Engine icon indicating copy to clipboard operation
Citrus-Engine copied to clipboard

handleStageDeactivated and _playing

Open gsynuh opened this issue 10 years ago • 1 comments

@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 avatar May 03 '15 21:05 gsynuh

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.

alamboley avatar May 04 '15 06:05 alamboley