Frontier-of-Hell/scenes/ui/how_to_play.tscn

65 lines
2 KiB
Text
Raw Normal View History

[gd_scene load_steps=3 format=3 uid="uid://cjvppmi07xul8"]
2023-10-17 18:56:42 +02:00
[ext_resource type="Script" path="res://scripts/ui/how_to_play.gd" id="1_7kvq7"]
2023-10-17 18:56:42 +02:00
[ext_resource type="Texture2D" uid="uid://eebavmfljotl" path="res://assets/icons/not-found.png" id="1_331sn"]
[node name="HowToPlay" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_7kvq7")
2023-10-17 18:56:42 +02:00
[node name="Panel" type="Panel" 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="Panel"]
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 = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 0
text = "How to Play"
[node name="Back" type="Button" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
2023-10-17 18:56:42 +02:00
layout_mode = 2
size_flags_horizontal = 10
size_flags_vertical = 0
text = "Back"
[node name="HBoxContainer2" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
texture = ExtResource("1_331sn")
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/HBoxContainer/Back" to="." method="_on_back_pressed"]