Falling rose petal effect

This commit is contained in:
2023-09-13 19:39:10 -07:00
parent 6138957524
commit ce7576731c
16 changed files with 229 additions and 49 deletions

View File

@@ -82,7 +82,7 @@ public partial class GameManager : Node
player.CharactersLeftOnStage.RemoveAt(player.CharacterIndex);
if (player.SelectedCharacter is not null)
GetTree().Root.RemoveChild(player.SelectedCharacter);
GetTree().Root.RemoveChild(player.SelectedCharacter);
player.CharacterIndex = 0;
if (player.CharactersLeftOnStage.Any())
@@ -140,7 +140,7 @@ public partial class GameManager : Node
player.CharacterIndex = 0;
}
foreach (var character in playerCharacters)
character.GetParent().RemoveChild(character);