fuzzyworld

godot-shooter / starfield-background / files / StarField.tscn

Branch starfield-background · default branch · all branches

StarField.tscn

Blame: the commit that last changed each line · file · history

625d806b 2023-11-01 Pavel Safronov1[gd_scene load_steps=7 format=2]
2
3[ext_resource path="res://kenney_simple-space/PNG/Default/star_medium.png" type="Texture" id=1]
4
5[sub_resource type="Gradient" id=1]
6offsets = PoolRealArray( 0, 0.325137, 0.669399, 0.997268 )
7colors = PoolColorArray( 1, 1, 1, 1, 0.0078125, 0, 1, 1, 1, 0, 0.0234375, 1, 1, 1, 1, 1 )
8
9[sub_resource type="GradientTexture" id=2]
10gradient = SubResource( 1 )
11
12[sub_resource type="Curve" id=3]
13_data = [ Vector2( 0, 0 ), 0.0, 0.0932435, 0, 0, Vector2( 0.294686, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.492754, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.743961, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
14
15[sub_resource type="CurveTexture" id=4]
16curve = SubResource( 3 )
17
18[sub_resource type="ParticlesMaterial" id=5]
19emission_shape = 2
20emission_box_extents = Vector3( 1000, 1000, 0 )
21flag_disable_z = true
22gravity = Vector3( 0, 0, 0 )
23orbit_velocity = 0.0
24orbit_velocity_random = 0.0
25angle = 720.0
26angle_random = 1.0
27scale_curve = SubResource( 4 )
28color_ramp = SubResource( 2 )
29
30[node name="StarField" type="Particles2D"]
31amount = 100
32lifetime = 6.0
33process_material = SubResource( 5 )
34texture = ExtResource( 1 )