center splash!

This commit is contained in:
Harmony Honey 2023-11-26 13:19:21 -05:00
parent 0d0c6ad0da
commit efc049e5ef
2 changed files with 12 additions and 3 deletions

View file

@ -48,7 +48,6 @@ margin_right = 204.0
margin_bottom = 140.0
[node name="Menu" type="VBoxContainer" parent="Control"]
visible = false
margin_left = 2.0
margin_top = 32.0
margin_right = 66.0
@ -143,6 +142,7 @@ text = "credit"
uppercase = true
[node name="Quit" type="VBoxContainer" parent="Control"]
visible = false
margin_left = 12.0
margin_top = 32.0
margin_right = 81.0

View file

@ -18,11 +18,20 @@ layer = 9
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Logo" type="Sprite" parent="CanvasLayer"]
[node name="Center" type="CenterContainer" parent="CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Control" type="Control" parent="CanvasLayer/Center"]
margin_right = 228.0
margin_bottom = 128.0
rect_min_size = Vector2( 228, 128 )
[node name="Logo" type="Sprite" parent="CanvasLayer/Center/Control"]
modulate = Color( 0, 0, 0, 1 )
position = Vector2( 114, 64 )
texture = ExtResource( 1 )
[node name="Camera2D" type="Camera2D" parent="CanvasLayer"]
[node name="Camera2D" type="Camera2D" parent="CanvasLayer/Center/Control"]
position = Vector2( 114, 64 )
current = true