[gd_scene load_steps=3 format=2] [ext_resource path="res://Menu.gd" type="Script" id=1] [ext_resource path="res://assets/title logo.png" type="Texture" id=2] [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"] rect_scale = Vector2( 0.4, 0.4 ) custom_constants/separation = 64 alignment = 1 __meta__ = { "_edit_use_anchors_": false } [node name="TextureRect" type="TextureRect" parent="Camera2D/VBoxContainer"] margin_right = 1523.0 margin_bottom = 445.0 size_flags_horizontal = 13 size_flags_vertical = 13 texture = ExtResource( 2 ) stretch_mode = 4 [node name="HBoxContainer2" type="HBoxContainer" parent="Camera2D/VBoxContainer"] margin_top = 509.0 margin_right = 1523.0 margin_bottom = 509.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 5 size_flags_vertical = 5 alignment = 1 __meta__ = { "_edit_use_anchors_": false } [node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/VBoxContainer"] margin_top = 573.0 margin_right = 1523.0 margin_bottom = 673.0 custom_constants/separation = 128 [node name="SimpleButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"] margin_right = 100.0 margin_bottom = 100.0 rect_min_size = Vector2( 100, 100 ) text = "Leicht" [node name="MediumButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"] margin_left = 228.0 margin_right = 328.0 margin_bottom = 100.0 rect_min_size = Vector2( 100, 100 ) text = "Mittel" [node name="HardButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"] margin_left = 456.0 margin_right = 556.0 margin_bottom = 100.0 rect_min_size = Vector2( 100, 100 ) 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"]