Skip to content

handleStageDeactivated and _playing #261

Open
@gsynuh

Description

@gsynuh

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions