PirateTreasureHunt/Menu.tscn

74 lines
2.2 KiB
Plaintext
Raw Normal View History

2021-08-01 17:24:42 +02:00
[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 )
2021-08-09 00:27:53 +02:00
[node name="Camera2D" type="Camera2D" parent="."]
anchor_mode = 0
current = true
2021-08-01 17:24:42 +02:00
2021-08-09 00:27:53 +02:00
[node name="VBoxContainer" type="VBoxContainer" parent="Camera2D"]
rect_scale = Vector2( 0.4, 0.4 )
custom_constants/separation = 64
2021-08-01 17:24:42 +02:00
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
2021-08-09 00:27:53 +02:00
[node name="TextureRect" type="TextureRect" parent="Camera2D/VBoxContainer"]
2021-08-01 17:24:42 +02:00
margin_right = 1523.0
margin_bottom = 445.0
size_flags_horizontal = 13
size_flags_vertical = 13
texture = ExtResource( 2 )
2021-08-09 00:27:53 +02:00
stretch_mode = 4
2021-08-01 17:24:42 +02:00
2021-08-09 00:27:53 +02:00
[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
2021-08-01 17:24:42 +02:00
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
2021-08-09 00:27:53 +02:00
[node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/VBoxContainer"]
margin_top = 573.0
margin_right = 1523.0
margin_bottom = 673.0
2021-08-01 17:24:42 +02:00
custom_constants/separation = 128
2021-08-09 00:27:53 +02:00
[node name="SimpleButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"]
2021-08-01 17:24:42 +02:00
margin_right = 100.0
margin_bottom = 100.0
rect_min_size = Vector2( 100, 100 )
text = "Leicht"
2021-08-09 00:27:53 +02:00
[node name="MediumButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"]
2021-08-01 17:24:42 +02:00
margin_left = 228.0
margin_right = 328.0
margin_bottom = 100.0
rect_min_size = Vector2( 100, 100 )
text = "Mittel"
2021-08-09 00:27:53 +02:00
[node name="HardButton" type="Button" parent="Camera2D/VBoxContainer/HBoxContainer"]
2021-08-01 17:24:42 +02:00
margin_left = 456.0
margin_right = 556.0
margin_bottom = 100.0
rect_min_size = Vector2( 100, 100 )
text = "Schwer"
2021-08-09 00:27:53 +02:00
[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"]