diff --git a/Level_Core.tscn b/Level_Core.tscn index b73df0f..c23d65a 100644 --- a/Level_Core.tscn +++ b/Level_Core.tscn @@ -1004,12 +1004,21 @@ label_settings = SubResource("LabelSettings_27422") [node name="Label_Controls2" type="Label" parent="."] offset_left = 100.0 -offset_top = 300.0 +offset_top = 290.0 offset_right = 625.0 -offset_bottom = 390.0 +offset_bottom = 318.0 text = "time/zeit: " label_settings = SubResource("LabelSettings_27422") +[node name="Label_Controls3" type="Label" parent="."] +visible = false +offset_left = 100.0 +offset_top = 318.0 +offset_right = 625.0 +offset_bottom = 346.0 +text = "coordinates" +label_settings = SubResource("LabelSettings_27422") + [node name="PauseMenu" parent="." instance=ExtResource("3_i8tni")] visible = false diff --git a/main.gd b/main.gd index 4798e85..002329e 100644 --- a/main.gd +++ b/main.gd @@ -41,6 +41,7 @@ func _process(delta: float): player.teleport_to_checkpoint() elif Input.is_action_just_pressed("proluz_ui_reset"): get_tree().reload_current_scene() + var player = get_node("Player") $Label_Controls2.text = get_formatted_time() func get_formatted_time() -> String: