godot-shooter / files / effects / StarField.tscn
StarField.tscn
e9f8f8f2 2023-11-01 Pavel Safronov | 1 | [gd_scene load_steps=6 format=2] |
2ef72487 2023-11-01 Pavel Safronov | 2 | |
| 3 | [ext_resource path="res://assets/kenney_simple-space/PNG/Default/star_small.png" type="Texture" id=1] | |
| 4 | ||
748f09d4 2023-11-02 Pavel Safronov | 5 | [sub_resource type="Gradient" id=5] |
| 6 | ||
| 7 | [sub_resource type="GradientTexture2D" id=6] | |
| 8 | gradient = SubResource( 5 ) | |
e9f8f8f2 2023-11-01 Pavel Safronov | 9 | fill_to = Vector2( 1, 1 ) |
2ef72487 2023-11-01 Pavel Safronov | 10 | |
| 11 | [sub_resource type="Curve" id=1] | |
61fbb9f6 2023-11-09 Pavel Safronov | 12 | _data = [ Vector2( 0, 0.193694 ), 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.157658 ), 0.0, 0.0, 0, 0 ] |
2ef72487 2023-11-01 Pavel Safronov | 13 | |
e9f8f8f2 2023-11-01 Pavel Safronov | 14 | [sub_resource type="Gradient" id=4] |
61fbb9f6 2023-11-09 Pavel Safronov | 15 | offsets = PoolRealArray( 0.00875274, 0.0415755, 0.420131, 0.461707, 1 ) |
| 16 | colors = PoolColorArray( 1, 1, 1, 0, 0.925078, 0.925078, 0.925078, 1, 0.242891, 0.242891, 0.242891, 1, 0.168627, 0.168627, 0.168627, 0, 1, 1, 1, 1 ) | |
2ef72487 2023-11-01 Pavel Safronov | 17 | |
e9f8f8f2 2023-11-01 Pavel Safronov | 18 | [node name="Node2D" type="Node2D"] |
2ef72487 2023-11-01 Pavel Safronov | 19 | |
e9f8f8f2 2023-11-01 Pavel Safronov | 20 | [node name="Polygon2D" type="Polygon2D" parent="."] |
| 21 | visible = false | |
61fbb9f6 2023-11-09 Pavel Safronov | 22 | position = Vector2( 0, -1 ) |
e9f8f8f2 2023-11-01 Pavel Safronov | 23 | antialiased = true |
748f09d4 2023-11-02 Pavel Safronov | 24 | texture = SubResource( 6 ) |
e9f8f8f2 2023-11-01 Pavel Safronov | 25 | invert_enable = true |
748f09d4 2023-11-02 Pavel Safronov | 26 | invert_border = 5.0 |
61fbb9f6 2023-11-09 Pavel Safronov | 27 | polygon = PoolVector2Array( 0, 0, 600, 0, 600, 1000, 0, 1000 ) |
e9f8f8f2 2023-11-01 Pavel Safronov | 28 | |
| 29 | [node name="StarField" type="CPUParticles2D" parent="."] | |
61fbb9f6 2023-11-09 Pavel Safronov | 30 | position = Vector2( 300, 500 ) |
062f0623 2023-11-10 Pavel Safronov | 31 | amount = 50 |
2ef72487 2023-11-01 Pavel Safronov | 32 | lifetime = 10.0 |
748f09d4 2023-11-02 Pavel Safronov | 33 | preprocess = 191.72 |
2ef72487 2023-11-01 Pavel Safronov | 34 | texture = ExtResource( 1 ) |
e9f8f8f2 2023-11-01 Pavel Safronov | 35 | emission_shape = 2 |
61fbb9f6 2023-11-09 Pavel Safronov | 36 | emission_rect_extents = Vector2( 300, 500 ) |
e9f8f8f2 2023-11-01 Pavel Safronov | 37 | gravity = Vector2( 0, 0 ) |
| 38 | angular_velocity = 50.0 | |
| 39 | angular_velocity_random = 1.0 | |
| 40 | scale_amount_random = 1.0 | |
| 41 | scale_amount_curve = SubResource( 1 ) | |
| 42 | color_ramp = SubResource( 4 ) |