[EDIT] fixed zindex

This commit is contained in:
baldas_h 2020-04-05 10:48:07 +02:00
parent e7fc1e9fa7
commit 2c99c7344d
2 changed files with 7 additions and 5 deletions

View File

@ -8,6 +8,7 @@ position = Vector2( 458.947, 226.316 )
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
z_index = 3
texture = ExtResource( 2 )
[node name="Area2D" type="Area2D" parent="."]

View File

@ -24,15 +24,16 @@ __meta__ = {
}
[node name="HBoxContainer" type="HBoxContainer" parent="Sprite/MarginContainer"]
margin_left = 674.0
margin_top = 771.0
margin_right = 902.0
margin_left = 788.0
margin_top = 835.0
margin_right = 788.0
margin_bottom = 835.0
size_flags_horizontal = 4
size_flags_vertical = 12
custom_constants/separation = 100
[node name="StartGameButton" type="TextureButton" parent="Sprite/MarginContainer/HBoxContainer"]
visible = false
margin_right = 64.0
margin_bottom = 64.0
size_flags_horizontal = 4
@ -40,8 +41,8 @@ size_flags_vertical = 8
texture_normal = ExtResource( 3 )
[node name="QuitGameButton" type="TextureButton" parent="Sprite/MarginContainer/HBoxContainer"]
margin_left = 164.0
margin_right = 228.0
visible = false
margin_right = 64.0
margin_bottom = 64.0
texture_normal = ExtResource( 3 )
[connection signal="pressed" from="Sprite/MarginContainer/HBoxContainer/StartGameButton" to="." method="_on_StartGameButton_pressed"]