Naja...
This commit is contained in:
parent
fcfbc32636
commit
22c3d58957
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
1
main.gd
1
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue