changement du scene manager, amélioration du cockpit et autres

* refonte du scene manager
* refonte du audio manager
* premier rework des plantes
* nettoyage des dossiers/fichiers
* renommage de planète en region
* fix des run
This commit is contained in:
2026-01-23 18:06:27 +01:00
parent 62b34473b6
commit 83d462f2f4
247 changed files with 2964 additions and 3159 deletions

View File

@@ -21,13 +21,7 @@ func update(
max_energy = _max_energy
var energy_count_text = "[b]%d[/b] / %d" % [energy, max_energy]
if with_animation:
%EnergyAnimationPlayer.bounce()
# if with_animation:
# %EnergyAnimationPlayer.bounce()
%EnergyCount.text = energy_count_text
modulate = Color.WHITE if energy > 0 else Color.RED
func appear():
await %EnergyAnimationPlayer.appear()
func disappear():
await %EnergyAnimationPlayer.disappear()
modulate = Color.WHITE if energy > 0 else Color.RED