82 lines
2.4 KiB
Text
82 lines
2.4 KiB
Text
[gd_scene load_steps=4 format=3 uid="uid://bnlexkofp68gv"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/gui.gd" id="1_7s0l7"]
|
|
[ext_resource type="Texture2D" uid="uid://buafet16thf3p" path="res://Assets/crosshair.png" id="1_mpwvh"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_lrnc3"]
|
|
font_color = Color(1, 0, 0, 1)
|
|
|
|
[node name="Gui" type="Control" node_paths=PackedStringArray("terminal_panel")]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_7s0l7")
|
|
terminal_panel = NodePath("Terminal")
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 23.0
|
|
text = "Time: 10"
|
|
label_settings = SubResource("LabelSettings_lrnc3")
|
|
|
|
[node name="Crosshair" type="CenterContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Crosshair"]
|
|
modulate = Color(1, 1, 1, 0.486275)
|
|
custom_minimum_size = Vector2(10, 10)
|
|
layout_mode = 2
|
|
texture = ExtResource("1_mpwvh")
|
|
expand_mode = 1
|
|
|
|
[node name="Terminal" type="Control" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Terminal"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 200
|
|
theme_override_constants/margin_top = 75
|
|
theme_override_constants/margin_right = 200
|
|
theme_override_constants/margin_bottom = 75
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Terminal/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Terminal/MarginContainer/PanelContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="Terminal/MarginContainer/PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Terminal UI"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Label2" type="Label" parent="Terminal/MarginContainer/PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Available commands: 3x Jump, 1x Dash"
|
|
|
|
[node name="CloseButton" type="Button" parent="Terminal/MarginContainer/PanelContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 0
|
|
text = "X"
|
|
|
|
[connection signal="pressed" from="Terminal/MarginContainer/PanelContainer/CloseButton" to="." method="close_terminal"]
|