From ad2d46745623f5661309553840ae9462c3ab027f Mon Sep 17 00:00:00 2001 From: Matt Jenkins Date: Mon, 6 May 2024 13:37:45 +0100 Subject: [PATCH] Improved intro starfield --- Intro.tscn | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Intro.tscn b/Intro.tscn index 856bce8..30a9a8a 100644 --- a/Intro.tscn +++ b/Intro.tscn @@ -7,7 +7,7 @@ [sub_resource type="Curve" id="Curve_jhhjd"] min_value = -200.0 max_value = 200.0 -_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0] +_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 200), 0.0, 0.0, 0, 0] point_count = 2 [node name="Intro" type="Node2D"] @@ -15,16 +15,17 @@ script = ExtResource("1_1hnh1") [node name="CPUParticles2D" type="CPUParticles2D" parent="."] position = Vector2(320, 180) -amount = 100 +amount = 250 +lifetime = 0.1 speed_scale = 0.1 randomness = 1.0 direction = Vector2(0, 0) spread = 180.0 gravity = Vector2(0, 0) -initial_velocity_min = 80.81 -initial_velocity_max = 838.38 +initial_velocity_min = 10.0 +initial_velocity_max = 1000.0 linear_accel_min = 100.0 -linear_accel_max = 100.0 +linear_accel_max = 1000.0 linear_accel_curve = SubResource("Curve_jhhjd") [node name="VBoxContainer" type="VBoxContainer" parent="."]