Man-Run/Scenen/menu.tscn
2025-02-07 19:35:04 +01:00

87 lines
2.7 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://dpawirk1fo3t6"]
[ext_resource type="Texture2D" uid="uid://ixpjprk0djce" path="res://man-run-splash.png" id="1_4f0si"]
[ext_resource type="Script" path="res://Scenen/menu.gd" id="1_qniwe"]
[ext_resource type="Texture2D" uid="uid://ccqr58ca2ldhc" path="res://assets/images/Menu/Buttons/Play.png" id="2_m2mcb"]
[ext_resource type="Texture2D" uid="uid://cpdr1pi20ojdk" path="res://assets/images/Background/Brown.png" id="2_niirg"]
[ext_resource type="Texture2D" uid="uid://by2vq318bo1cc" path="res://assets/images/Menu/Buttons/Settings.png" id="3_5lxj3"]
[ext_resource type="Texture2D" uid="uid://cwpnfio8yt280" path="res://assets/images/Menu/Buttons/Volume.png" id="4_tv54d"]
[ext_resource type="Texture2D" uid="uid://bnyejhxumad1n" path="res://assets/images/Menu/Buttons/Volume_mute.png" id="7_ca6b7"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("1_qniwe")
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
texture = ExtResource("2_niirg")
stretch_mode = 1
[node name="Bild" type="TextureRect" parent="."]
clip_contents = true
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -864.0
offset_top = -324.0
offset_bottom = 324.0
grow_horizontal = 0
grow_vertical = 2
texture = ExtResource("1_4f0si")
expand_mode = 3
[node name="Liste" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_use_anchors_ = true
[node name="Buttons" type="VBoxContainer" parent="Liste"]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
alignment = 1
[node name="Play" type="TextureButton" parent="Liste/Buttons"]
layout_mode = 2
size_flags_vertical = 3
texture_normal = ExtResource("2_m2mcb")
stretch_mode = 4
[node name="Settings" type="TextureButton" parent="Liste/Buttons"]
layout_mode = 2
size_flags_vertical = 3
texture_normal = ExtResource("3_5lxj3")
stretch_mode = 4
[node name="Volume" type="TextureButton" parent="Liste/Buttons"]
clip_contents = true
layout_mode = 2
size_flags_vertical = 3
toggle_mode = true
texture_normal = ExtResource("4_tv54d")
texture_disabled = ExtResource("7_ca6b7")
stretch_mode = 4
[connection signal="pressed" from="Liste/Buttons/Play" to="." method="_on_play_pressed"]
[connection signal="toggled" from="Liste/Buttons/Volume" to="." method="_on_volume_toggled"]