ajout d'une petite surprise...

This commit is contained in:
2025-11-11 01:08:56 +01:00
parent fb5a692cf4
commit 33fce0e0ab
15 changed files with 748 additions and 140 deletions

View File

@@ -6,7 +6,6 @@ class_name InGameBaseIndicator
# Called when the node enters the scene tree for the first time.
func _ready():
setup(tr("GARDEN"))
print(GameInfo.game_data.current_planet_data.garden_size/2)
follow_game_position(GameInfo.game_data.current_planet_data.garden_size/2)
func _process(_delta):

View File

@@ -1,12 +1,9 @@
extends Node2D
extends Node
@export_file var start_scene_path : String
func _ready():
%Version.text = ProjectSettings.get_setting("application/config/version")
func _on_start_pressed():
GameInfo.game_data.current_planet_data = PlanetData.new()
var preferred_language = OS.get_locale_language()
TranslationServer.set_locale(preferred_language)
get_tree().change_scene_to_file(start_scene_path)