Fixed menu width to 250 pixels

map_02
Jan Heemstra 2021-11-30 23:05:29 +01:00
parent d17a9f854c
commit 2f0c7fe959
2 changed files with 7 additions and 10 deletions

View File

@ -28,17 +28,16 @@ __meta__ = {
}
[node name="Menu" parent="." instance=ExtResource( "2" )]
offset_left = 412.0
offset_left = 387.0
offset_top = 236.0
offset_right = 612.0
offset_right = 637.0
offset_bottom = 364.0
rect_min_size = Vector2(200, 0)
[node name="Play" parent="Menu" instance=ExtResource( "1" )]
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 33.0
offset_right = 200.0
offset_right = 250.0
offset_bottom = 62.0
text = "play
"
@ -48,7 +47,7 @@ label = "play"
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 66.0
offset_right = 200.0
offset_right = 250.0
offset_bottom = 95.0
text = "options"
label = "options"
@ -57,7 +56,7 @@ label = "options"
anchor_right = 0.0
anchor_bottom = 0.0
offset_top = 99.0
offset_right = 200.0
offset_right = 250.0
offset_bottom = 128.0
text = "quit"
label = "quit"

View File

@ -9,25 +9,23 @@ offset_left = 475.0
offset_top = 269.0
offset_right = 548.0
offset_bottom = 331.0
rect_min_size = Vector2(250, 0)
script = ExtResource( "1" )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Back" type="Button" parent="."]
offset_right = 73.0
offset_right = 250.0
offset_bottom = 29.0
text = "back
"
script = null
[node name="ClickSound" type="AudioStreamPlayer" parent="Back"]
stream = ExtResource( "2_nkrit" )
script = null
[node name="HoverSound" type="AudioStreamPlayer" parent="Back"]
stream = ExtResource( "3_qqhse" )
script = null
[connection signal="mouse_entered" from="Back" to="." method="_on_Back_mouse_entered"]
[connection signal="pressed" from="Back" to="." method="go_back"]