PirateTreasureHunt/Menu.tscn

73 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 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="HBoxContainer2" type="HBoxContainer" parent="CanvasLayer"]
anchor_right = 1.0
margin_bottom = 445.0
rect_scale = Vector2( 0.5, 0.5 )
size_flags_horizontal = 5
size_flags_vertical = 5
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="CanvasLayer/HBoxContainer2"]
margin_right = 1523.0
margin_bottom = 445.0
rect_scale = Vector2( 0.5, 0.5 )
size_flags_horizontal = 13
size_flags_vertical = 13
texture = ExtResource( 2 )
stretch_mode = 1
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -278.0
margin_top = -100.0
margin_right = 278.0
custom_constants/separation = 64
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/VBoxContainer"]
margin_right = 556.0
margin_bottom = -300.0
custom_constants/separation = 128
[node name="SimpleButton" type="Button" parent="CanvasLayer/VBoxContainer/HBoxContainer"]
margin_right = 100.0
margin_bottom = 100.0
rect_min_size = Vector2( 100, 100 )
text = "Leicht"
[node name="MediumButton" type="Button" parent="CanvasLayer/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="CanvasLayer/VBoxContainer/HBoxContainer"]
margin_left = 456.0
margin_right = 556.0
margin_bottom = 100.0
rect_min_size = Vector2( 100, 100 )
text = "Schwer"
[connection signal="pressed" from="CanvasLayer/VBoxContainer/HBoxContainer/SimpleButton" to="." method="_on_SimpleButton_pressed"]
[connection signal="pressed" from="CanvasLayer/VBoxContainer/HBoxContainer/MediumButton" to="." method="_on_MediumButton_pressed"]
[connection signal="pressed" from="CanvasLayer/VBoxContainer/HBoxContainer/HardButton" to="." method="_on_HardButton_pressed"]