fuzzyworld

godot-shooter / change-html-template / files / StarField.tscn

Branch change-html-template · default branch · all branches

StarField.tscn

1.2 KB · history · blame

1[gd_scene load_steps=6 format=2]
2
3[ext_resource path="res://assets/kenney_simple-space/PNG/Default/star_small.png" type="Texture" id=1]
4
5[sub_resource type="Gradient" id=5]
6
7[sub_resource type="GradientTexture2D" id=6]
8gradient = SubResource( 5 )
9fill_to = Vector2( 1, 1 )
10
11[sub_resource type="Curve" id=1]
12_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.256659, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.490196, 0.297297 ), 0.0, 0.0, 0, 0, Vector2( 0.74092, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
13
14[sub_resource type="Gradient" id=4]
15
16[node name="Node2D" type="Node2D"]
17
18[node name="Polygon2D" type="Polygon2D" parent="."]
19visible = false
20position = Vector2( -1024, -600 )
21antialiased = true
22texture = SubResource( 6 )
23invert_enable = true
24invert_border = 5.0
25polygon = PoolVector2Array( 0, 0, 2048, 0, 2048, 1200, 0, 1200 )
26
27[node name="StarField" type="CPUParticles2D" parent="."]
28amount = 200
29lifetime = 10.0
30preprocess = 191.72
31texture = ExtResource( 1 )
32emission_shape = 2
33emission_rect_extents = Vector2( 1024, 600 )
34gravity = Vector2( 0, 0 )
35angular_velocity = 50.0
36angular_velocity_random = 1.0
37scale_amount_random = 1.0
38scale_amount_curve = SubResource( 1 )
39color_ramp = SubResource( 4 )