diff --git a/icon.ico b/icon.ico new file mode 100644 index 0000000..78ce6f1 Binary files /dev/null and b/icon.ico differ diff --git a/res/shaders/colorize.tres b/res/shaders/colorize.tres index f7d36b5..dcdce01 100644 --- a/res/shaders/colorize.tres +++ b/res/shaders/colorize.tres @@ -15,5 +15,5 @@ void fragment(){ [resource] shader = SubResource( 3 ) -shader_param/active = false -shader_param/color = Color( 1, 1, 1, 1 ) +shader_param/active = true +shader_param/color = Color( 1, 1, 1, 0 ) diff --git a/src/scenes/game/Game.tscn b/src/scenes/game/Game.tscn index 4149a09..220d1d4 100644 --- a/src/scenes/game/Game.tscn +++ b/src/scenes/game/Game.tscn @@ -75,6 +75,7 @@ z_index = 1 position = Vector2( 160, 90 ) amount = 9 lifetime = 3.0 +preprocess = 3.0 emission_shape = 2 emission_rect_extents = Vector2( 160, 60 ) gravity = Vector2( 0, -5 ) diff --git a/src/scenes/menu/Menu.tscn b/src/scenes/menu/Menu.tscn index c314ecd..543afe6 100644 --- a/src/scenes/menu/Menu.tscn +++ b/src/scenes/menu/Menu.tscn @@ -16,15 +16,27 @@ centered = false region_enabled = true 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="."] margin_right = 160.0 margin_bottom = 90.0 [node name="PlayButton" type="Button" parent="UI"] margin_left = 20.0 -margin_top = 20.0 +margin_top = 40.0 margin_right = 140.0 -margin_bottom = 60.0 +margin_bottom = 80.0 theme = ExtResource( 3 ) text = "Play" flat = true @@ -39,30 +51,11 @@ patch_margin_top = 2 patch_margin_right = 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"] margin_left = 20.0 -margin_top = 120.0 +margin_top = 100.0 margin_right = 140.0 -margin_bottom = 160.0 +margin_bottom = 140.0 theme = ExtResource( 3 ) text = "Exit" flat = true @@ -78,10 +71,10 @@ patch_margin_right = 2 patch_margin_bottom = 2 [node name="Label" type="Label" parent="UI"] -margin_left = 212.0 -margin_top = 111.0 -margin_right = 320.0 -margin_bottom = 180.0 +margin_left = 192.0 +margin_top = 56.0 +margin_right = 300.0 +margin_bottom = 125.0 theme = ExtResource( 3 ) text = "Manskage iLunaiLuna