PirateTreasureHunt/Menu.tscn

77 lines
2.3 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=4 format=2]
2021-08-01 17:24:42 +02:00
[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]
2021-08-01 17:24:42 +02:00
[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"]
anchor_bottom = 0.224
margin_top = 92.0
margin_right = 2553.0
margin_bottom = 1344.0
2021-08-09 00:27:53 +02:00
rect_scale = Vector2( 0.4, 0.4 )
custom_constants/separation = 64
2021-08-01 17:24:42 +02:00
__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
2021-08-01 17:24:42 +02:00
size_flags_horizontal = 13
size_flags_vertical = 13
texture = ExtResource( 2 )
stretch_mode = 3
2021-08-01 17:24:42 +02:00
2021-08-09 00:27:53 +02:00
[node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/VBoxContainer"]
margin_top = 664.0
margin_right = 2553.0
margin_bottom = 814.0
2021-08-01 17:24:42 +02:00
custom_constants/separation = 128
alignment = 1
2021-08-01 17:24:42 +02:00
2021-08-09 00:27:53 +02:00
[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 )
2021-08-01 17:24:42 +02:00
text = "Leicht"
2021-08-09 00:27:53 +02:00
[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 )
2021-08-01 17:24:42 +02:00
text = "Mittel"
2021-08-09 00:27:53 +02:00
[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 )
2021-08-01 17:24:42 +02:00
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"]