ajout de panneaux de contrôles, de paramètres et refactorisation de la gestion de l'audio

This commit is contained in:
2025-11-22 15:10:41 +01:00
parent dbe8f03531
commit 435415363c
171 changed files with 2165 additions and 922 deletions

View File

@@ -64,7 +64,7 @@ func use(player : Player, zone : Player.ActionZone) -> bool:
if player.planet == null:
return false
player.play_sfx("dig")
AudioManager.play_sfx("Dig")
return player.planet.plant(
plant_type,
zone.get_global_position(),
@@ -138,7 +138,7 @@ static func mutate(parent_mutation : Array[PlantMutation] = []) -> Array[PlantMu
]
if (
len(parent_mutation) > 2
len(parent_mutation) >= 2
):
possible_mutations = [
UpgradeMutation.new(),