diff --git a/scenes/stars.tscn b/scenes/stars.tscn new file mode 100644 index 0000000..1a0c4af --- /dev/null +++ b/scenes/stars.tscn @@ -0,0 +1,21 @@ +[gd_scene load_steps=4 format=3 uid="uid://cemhlom425afn"] + +[ext_resource type="Texture2D" uid="uid://chuygpyfe3y10" path="res://assets/img/star.png" id="1_0837q"] + +[sub_resource type="Curve" id="Curve_8qyxb"] +_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.606742, 1), 0.052866, 0.052866, 0, 0, Vector2(1, 0.615385), 0.0, 0.0, 0, 0] +point_count = 3 + +[sub_resource type="Gradient" id="Gradient_rnjki"] +offsets = PackedFloat32Array(0, 0.406667, 0.84) +colors = PackedColorArray(0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1) + +[node name="Stars" type="CPUParticles2D"] +amount = 64 +lifetime = 5.0 +texture = ExtResource("1_0837q") +emission_shape = 3 +emission_rect_extents = Vector2(1200, 700) +gravity = Vector2(0, 0) +scale_amount_curve = SubResource("Curve_8qyxb") +color_ramp = SubResource("Gradient_rnjki")