netmasked/scenes/start_menu.tscn

117 lines
4.3 KiB
Text

[gd_scene format=3 uid="uid://crecxacda45j3"]
[ext_resource type="Script" uid="uid://nf16c5x6khy6" path="res://scripts/start_menu.gd" id="1_ia0g5"]
[ext_resource type="Texture2D" uid="uid://ddvyrpgjh4o3c" path="res://ui/title.png" id="3_ppfnh"]
[ext_resource type="Theme" uid="uid://d3iyu7ukwsn1p" path="res://ui/default_theme.tres" id="3_v2mkm"]
[ext_resource type="PackedScene" uid="uid://dv8l318cesr8e" path="res://scenes/main_cam.tscn" id="5_ctwoq"]
[ext_resource type="Script" uid="uid://llka3aa044jo" path="res://scripts/click.gd" id="6_acoh7"]
[ext_resource type="Texture2D" uid="uid://di3mn2tr6dnac" path="res://ui/button.png" id="6_pgi0o"]
[ext_resource type="Texture2D" uid="uid://dv7ll7ej5y5gl" path="res://ui/button-2.png" id="7_73a2t"]
[ext_resource type="Texture2D" uid="uid://dsjg5nn2s1fv3" path="res://ui/button-3.png" id="8_xsckg"]
[ext_resource type="Texture2D" uid="uid://d0ydt84235pua" path="res://ui/button-4.png" id="9_gfl6h"]
[ext_resource type="Texture2D" uid="uid://c7mdtwpckl7nr" path="res://ui/button-5.png" id="10_kefd2"]
[ext_resource type="Texture2D" uid="uid://bt6r7jlshl680" path="res://ui/button-6.png" id="11_acoh7"]
[ext_resource type="PackedScene" uid="uid://c6f7s7bsitw13" path="res://ui/settings_menu.tscn" id="11_vnuwp"]
[node name="StartMenu" type="Node2D" unique_id=777527274 node_paths=PackedStringArray("settings")]
script = ExtResource("1_ia0g5")
settings = NodePath("CanvasLayer/Control/SettingsMenu")
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1547201282]
process_mode = 3
[node name="Control" type="TextureRect" parent="CanvasLayer" unique_id=1951239017]
offset_right = 480.0
offset_bottom = 270.0
theme = ExtResource("3_v2mkm")
texture = ExtResource("3_ppfnh")
[node name="StartButton" type="TextureButton" parent="CanvasLayer/Control" unique_id=304846452]
layout_mode = 0
offset_left = 16.0
offset_top = 72.0
offset_right = 138.0
offset_bottom = 112.0
texture_normal = ExtResource("6_pgi0o")
texture_pressed = ExtResource("6_pgi0o")
texture_hover = ExtResource("7_73a2t")
script = ExtResource("6_acoh7")
[node name="Label" type="Label" parent="CanvasLayer/Control/StartButton" unique_id=1472852849]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -32.0
offset_top = -16.0
offset_right = 32.0
offset_bottom = -5.0
grow_horizontal = 2
grow_vertical = 2
text = "Start Game"
[node name="Settings" type="TextureButton" parent="CanvasLayer/Control" unique_id=1714311456]
layout_mode = 0
offset_left = 136.0
offset_top = 116.0
offset_right = 258.0
offset_bottom = 156.0
texture_normal = ExtResource("8_xsckg")
texture_pressed = ExtResource("8_xsckg")
texture_hover = ExtResource("9_gfl6h")
script = ExtResource("6_acoh7")
[node name="Label" type="Label" parent="CanvasLayer/Control/Settings" unique_id=1534187192]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -27.0
offset_top = -16.0
offset_right = 37.0
offset_bottom = -5.0
grow_horizontal = 2
grow_vertical = 2
text = "Settings"
[node name="Exit" type="TextureButton" parent="CanvasLayer/Control" unique_id=685030824]
layout_mode = 0
offset_left = 91.0
offset_top = 20.0
offset_right = 213.0
offset_bottom = 60.0
texture_normal = ExtResource("10_kefd2")
texture_pressed = ExtResource("10_kefd2")
texture_hover = ExtResource("11_acoh7")
script = ExtResource("6_acoh7")
[node name="Exit" type="Label" parent="CanvasLayer/Control/Exit" unique_id=41843911]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -14.0
offset_top = -16.0
offset_right = 50.0
offset_bottom = -5.0
grow_horizontal = 2
grow_vertical = 2
text = "Exit"
[node name="SettingsMenu" parent="CanvasLayer/Control" unique_id=546978037 instance=ExtResource("11_vnuwp")]
layout_mode = 1
[node name="MainCam2" parent="." unique_id=217317670 node_paths=PackedStringArray("ui_layer") instance=ExtResource("5_ctwoq")]
process_mode = 3
z_index = 10
ui_layer = NodePath("../CanvasLayer")
[connection signal="pressed" from="CanvasLayer/Control/StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="CanvasLayer/Control/Settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="CanvasLayer/Control/Exit" to="." method="_on_exit_pressed"]