small changes in menu

main
Just Dzhi 2023-10-01 20:12:38 +04:00
parent c36092e3b9
commit 16404c7f5d
2 changed files with 21 additions and 27 deletions

View File

@ -92,6 +92,7 @@ position = Vector2( 509, 100 )
position = Vector2( 160, 90 ) position = Vector2( 160, 90 )
amount = 9 amount = 9
lifetime = 3.0 lifetime = 3.0
preprocess = 3.0
emission_shape = 2 emission_shape = 2
emission_rect_extents = Vector2( 160, 60 ) emission_rect_extents = Vector2( 160, 60 )
gravity = Vector2( 0, -5 ) gravity = Vector2( 0, -5 )

View File

@ -16,15 +16,27 @@ centered = false
region_enabled = true region_enabled = true
region_rect = Rect2( 0, 0, 320, 180 ) region_rect = Rect2( 0, 0, 320, 180 )
[node name="CPUParticles2D" type="CPUParticles2D" parent="View"]
position = Vector2( 160, 90 )
amount = 18
lifetime = 3.0
preprocess = 3.0
emission_shape = 2
emission_rect_extents = Vector2( 160, 60 )
gravity = Vector2( 0, -5 )
radial_accel = 4.0
radial_accel_random = 1.0
color = Color( 0.133333, 0.133333, 0.137255, 1 )
[node name="UI" type="Control" parent="."] [node name="UI" type="Control" parent="."]
margin_right = 160.0 margin_right = 160.0
margin_bottom = 90.0 margin_bottom = 90.0
[node name="PlayButton" type="Button" parent="UI"] [node name="PlayButton" type="Button" parent="UI"]
margin_left = 20.0 margin_left = 20.0
margin_top = 20.0 margin_top = 40.0
margin_right = 140.0 margin_right = 140.0
margin_bottom = 60.0 margin_bottom = 80.0
theme = ExtResource( 3 ) theme = ExtResource( 3 )
text = "Play" text = "Play"
flat = true flat = true
@ -39,30 +51,11 @@ patch_margin_top = 2
patch_margin_right = 2 patch_margin_right = 2
patch_margin_bottom = 2 patch_margin_bottom = 2
[node name="SettingsButton" type="Button" parent="UI"]
margin_left = 20.0
margin_top = 70.0
margin_right = 140.0
margin_bottom = 110.0
theme = ExtResource( 3 )
text = "Settings"
flat = true
[node name="Button_Outline" type="NinePatchRect" parent="UI/SettingsButton"]
margin_right = 120.0
margin_bottom = 40.0
rect_clip_content = true
texture = ExtResource( 4 )
patch_margin_left = 2
patch_margin_top = 2
patch_margin_right = 2
patch_margin_bottom = 2
[node name="ExitButton" type="Button" parent="UI"] [node name="ExitButton" type="Button" parent="UI"]
margin_left = 20.0 margin_left = 20.0
margin_top = 120.0 margin_top = 100.0
margin_right = 140.0 margin_right = 140.0
margin_bottom = 160.0 margin_bottom = 140.0
theme = ExtResource( 3 ) theme = ExtResource( 3 )
text = "Exit" text = "Exit"
flat = true flat = true
@ -78,10 +71,10 @@ patch_margin_right = 2
patch_margin_bottom = 2 patch_margin_bottom = 2
[node name="Label" type="Label" parent="UI"] [node name="Label" type="Label" parent="UI"]
margin_left = 212.0 margin_left = 192.0
margin_top = 111.0 margin_top = 56.0
margin_right = 320.0 margin_right = 300.0
margin_bottom = 180.0 margin_bottom = 125.0
theme = ExtResource( 3 ) theme = ExtResource( 3 )
text = "Manskage text = "Manskage
iLunaiLuna iLunaiLuna