stage positions behind the others

This commit is contained in:
2022-01-03 16:46:13 -07:00
parent e78eb6b704
commit 7d88fd4de3
3 changed files with 30 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
// Track which actors are in FRONT of the stage so actors can appear behind them
(prop &mut :ActorFlxSprite actorOnLeft null)
(prop &mut :ActorFlxSprite actorOnRight null)
(defNew [&prop :FlxSprite setSprite &prop :SceneTime time &prop :ScenePerspective perspective]
[
&mut :FlxState parent null