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

@@ -6,13 +6,13 @@ class_name InGameBaseIndicator
# Called when the node enters the scene tree for the first time.
func _ready():
setup(tr("GARDEN"))
follow_game_position(Planet.CHUNK_SIZE / 2. * Vector2.ONE)
follow_game_position(Region.CHUNK_SIZE / 2. * Vector2.ONE)
func _process(_delta):
visible = player and (
player.global_position.x < 0
or player.global_position.x > Planet.CHUNK_SIZE
or player.global_position.x > Region.CHUNK_SIZE
or player.global_position.y < 0
or player.global_position.y > Planet.CHUNK_SIZE
or player.global_position.y > Region.CHUNK_SIZE
)
update()