cirnogodot/Scenes/HUD/DifficultySelection.tscn

71 lines
3.3 KiB
Text
Raw Normal View History

2025-04-08 15:02:41 +02:00
[gd_scene load_steps=11 format=3 uid="uid://7jevaemboajn"]
2025-03-17 01:38:13 +01:00
2025-04-08 15:02:41 +02:00
[ext_resource type="Script" uid="uid://bst70cv5631js" path="res://Scripts/UI/DifficultyMenu.cs" id="1_m1stl"]
2025-04-08 22:42:45 +02:00
[ext_resource type="Resource" uid="uid://dsvcyd0f5br85" path="res://Resources/Maps/Briefing_1.tres" id="2_bl7tq"]
2025-04-08 15:02:41 +02:00
[ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="3_0vv33"]
[ext_resource type="Texture2D" uid="uid://b4fhb0wyc5vw" path="res://Sprites/UI/BackIcon.png" id="4_bl7tq"]
[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="5_bl7tq"]
[ext_resource type="Texture2D" uid="uid://xum7nxbnoph8" path="res://ExternalMaterial/DifficultySelection/DifficultyButton0.png" id="6_bl7tq"]
[ext_resource type="Texture2D" uid="uid://44hye5leueuy" path="res://ExternalMaterial/DifficultySelection/DifficultyButton1.png" id="7_mt161"]
[ext_resource type="Texture2D" uid="uid://cib48h3gmqoh0" path="res://ExternalMaterial/DifficultySelection/DifficultyButton2.png" id="8_vk2qx"]
[ext_resource type="Texture2D" uid="uid://8cxg6g1tulis" path="res://ExternalMaterial/DifficultySelection/DifficultyButton3.png" id="9_8157i"]
2025-03-17 01:38:13 +01:00
2025-04-08 15:02:41 +02:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0vv33"]
bg_color = Color(0, 0, 0, 1)
[node name="DifficultySelection" type="PanelContainer"]
2025-03-17 23:34:52 +01:00
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2025-04-08 15:02:41 +02:00
theme_override_styles/panel = SubResource("StyleBoxFlat_0vv33")
script = ExtResource("1_m1stl")
2025-04-08 22:42:45 +02:00
StartMap = ExtResource("2_bl7tq")
2025-04-08 15:02:41 +02:00
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2
[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer"]
layout_mode = 2
2025-03-17 01:38:13 +01:00
2025-04-08 15:02:41 +02:00
[node name="BackButton" type="Button" parent="HBoxContainer/VBoxContainer2"]
2025-03-17 01:38:13 +01:00
layout_mode = 2
2025-04-08 15:02:41 +02:00
size_flags_vertical = 0
theme = ExtResource("3_0vv33")
text = "Back"
icon = ExtResource("4_bl7tq")
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer2"]
layout_mode = 2
text = "Select
Difficulty"
label_settings = ExtResource("5_bl7tq")
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
2025-03-17 23:34:52 +01:00
theme_override_constants/separation = 8
2025-04-08 15:02:41 +02:00
alignment = 1
2025-03-17 01:38:13 +01:00
2025-04-08 15:02:41 +02:00
[node name="TextureButton" type="TextureButton" parent="HBoxContainer/VBoxContainer"]
2025-03-17 01:38:13 +01:00
layout_mode = 2
2025-04-08 15:02:41 +02:00
texture_normal = ExtResource("6_bl7tq")
2025-03-17 01:38:13 +01:00
2025-04-08 15:02:41 +02:00
[node name="TextureButton2" type="TextureButton" parent="HBoxContainer/VBoxContainer"]
2025-03-17 01:38:13 +01:00
layout_mode = 2
2025-04-08 15:02:41 +02:00
texture_normal = ExtResource("7_mt161")
2025-03-17 01:38:13 +01:00
2025-04-08 15:02:41 +02:00
[node name="TextureButton3" type="TextureButton" parent="HBoxContainer/VBoxContainer"]
2025-03-17 01:38:13 +01:00
layout_mode = 2
2025-04-08 15:02:41 +02:00
texture_normal = ExtResource("8_vk2qx")
2025-03-17 01:38:13 +01:00
2025-04-08 15:02:41 +02:00
[node name="TextureButton4" type="TextureButton" parent="HBoxContainer/VBoxContainer"]
2025-03-17 01:38:13 +01:00
layout_mode = 2
2025-04-08 15:02:41 +02:00
texture_normal = ExtResource("9_8157i")
[connection signal="pressed" from="HBoxContainer/VBoxContainer2/BackButton" to="." method="_on_back_button_pressed"]
[connection signal="pressed" from="HBoxContainer/VBoxContainer/TextureButton" to="." method="StartEasy"]
[connection signal="pressed" from="HBoxContainer/VBoxContainer/TextureButton2" to="." method="StartNormal"]
[connection signal="pressed" from="HBoxContainer/VBoxContainer/TextureButton3" to="." method="StartHard"]
[connection signal="pressed" from="HBoxContainer/VBoxContainer/TextureButton4" to="." method="StartLunatic"]