courier/scenes/gui.tscn

78 lines
2 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://cpnkpl8rmrt00"]
[ext_resource type="Script" path="res://scripts/gui.gd" id="1_42w6u"]
[ext_resource type="Theme" uid="uid://d0ir0t347wqv7" path="res://etc/default_theme.tres" id="2_54lln"]
[ext_resource type="PackedScene" uid="uid://b7uugh755ycyl" path="res://scenes/item_counter.tscn" id="3_3e23f"]
[node name="Gui" type="CanvasLayer"]
script = ExtResource("1_42w6u")
ItemCounter = ExtResource("3_3e23f")
[node name="Panel" type="PanelContainer" parent="."]
offset_right = 40.0
offset_bottom = 40.0
[node name="List" type="VBoxContainer" parent="Panel"]
layout_mode = 2
[node name="MoneyCounter" type="Label" parent="Panel/List"]
layout_mode = 2
theme = ExtResource("2_54lln")
text = "$100"
[node name="CurrentAddress" type="Label" parent="Panel/List"]
layout_mode = 2
theme = ExtResource("2_54lln")
text = "No Contract"
[node name="TimeLeft" type="Label" parent="Panel/List"]
layout_mode = 2
[node name="Items" type="GridContainer" parent="Panel"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Timer" type="Timer" parent="."]
wait_time = 600.0
one_shot = true
autostart = true
[node name="EndGame" type="PanelContainer" parent="."]
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -331.0
offset_top = -68.5
offset_right = 331.0
offset_bottom = 68.5
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="EndGame"]
layout_mode = 2
text = "Congratulations!
You Finished The Game With"
[node name="StartGame" type="PanelContainer" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -331.0
offset_top = -68.5
offset_right = 331.0
offset_bottom = 68.5
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="StartGame"]
layout_mode = 2
text = "Move with Arrow Keys, Space to Interact
Press Space to Continue"
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]