[gd_scene load_steps=4 format=2] [ext_resource path="res://Menu.gd" type="Script" id=1] [ext_resource path="res://assets/title logo.png" type="Texture" id=2] [ext_resource path="res://MainMenuTheme.tres" type="Theme" id=3] [node name="Menu" type="Node2D"] script = ExtResource( 1 ) [node name="Camera2D" type="Camera2D" parent="."] anchor_mode = 0 current = true [node name="VBoxContainer" type="VBoxContainer" parent="Camera2D"] anchor_bottom = 0.224 margin_top = 92.0 margin_right = 2553.0 margin_bottom = 1344.0 rect_scale = Vector2( 0.4, 0.4 ) custom_constants/separation = 64 __meta__ = { "_edit_use_anchors_": false } [node name="HBoxContainer3" type="HBoxContainer" parent="Camera2D/VBoxContainer"] margin_right = 2553.0 margin_bottom = 600.0 rect_min_size = Vector2( 0, 600 ) alignment = 1 [node name="TextureRect" type="TextureRect" parent="Camera2D/VBoxContainer/HBoxContainer3"] margin_left = 515.0 margin_right = 2038.0 margin_bottom = 600.0 size_flags_horizontal = 13 size_flags_vertical = 13 texture = ExtResource( 2 ) stretch_mode = 3 [node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/VBoxContainer"] margin_top = 664.0 margin_right = 2553.0 margin_bottom = 814.0 custom_constants/separation = 128 alignment = 1 [node name="SimpleButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"] margin_left = 773.0 margin_right = 1023.0 margin_bottom = 150.0 rect_min_size = Vector2( 250, 150 ) theme = ExtResource( 3 ) text = "Leicht" [node name="MediumButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"] margin_left = 1151.0 margin_right = 1401.0 margin_bottom = 150.0 rect_min_size = Vector2( 250, 150 ) theme = ExtResource( 3 ) text = "Mittel" [node name="HardButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"] margin_left = 1529.0 margin_right = 1779.0 margin_bottom = 150.0 rect_min_size = Vector2( 250, 150 ) theme = ExtResource( 3 ) text = "Schwer" [node name="CanvasLayer" type="CanvasLayer" parent="."] follow_viewport_enable = true [connection signal="pressed" from="Camera2D/VBoxContainer/HBoxContainer/SimpleButton" to="." method="_on_SimpleButton_pressed"] [connection signal="pressed" from="Camera2D/VBoxContainer/HBoxContainer/MediumButton" to="." method="_on_MediumButton_pressed"] [connection signal="pressed" from="Camera2D/VBoxContainer/HBoxContainer/HardButton" to="." method="_on_HardButton_pressed"]