Drive planets from definitions

This commit is contained in:
Loïc Wisniewski 2026-08-14 16:13:24 +02:00
commit 02643c76c4
22 changed files with 183 additions and 82 deletions

View file

@ -113,8 +113,7 @@ func _on_enter_pressed() -> void:
GameState.return_world_position = current_planet.position
GameState.return_camera_zoom = camera.zoom.x
GameState.planet_name = current_planet.planet_name
GameState.planet_type = current_planet.planet_type
GameState.surface_profile_id = current_planet.surface_profile_id
GameState.planet_definition_id = current_planet.definition_id
var tween: Tween = create_tween()
tween.tween_property(fade_rect, "color:a", 1.0, fade_duration)