godot-shooter / change-html-template / files / StarField.tscn
Branch change-html-template · default branch · all branches
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] | |
| 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 | ||
e9f8f8f2 2023-11-01 Pavel Safronov | 14 | [sub_resource type="Gradient" id=4] |
2ef72487 2023-11-01 Pavel Safronov | 15 | |
e9f8f8f2 2023-11-01 Pavel Safronov | 16 | [node name="Node2D" type="Node2D"] |
2ef72487 2023-11-01 Pavel Safronov | 17 | |
e9f8f8f2 2023-11-01 Pavel Safronov | 18 | [node name="Polygon2D" type="Polygon2D" parent="."] |
| 19 | visible = false | |
5156ba97 2023-11-06 Pavel Safronov | 20 | position = Vector2( -1024, -600 ) |
e9f8f8f2 2023-11-01 Pavel Safronov | 21 | antialiased = true |
748f09d4 2023-11-02 Pavel Safronov | 22 | texture = SubResource( 6 ) |
e9f8f8f2 2023-11-01 Pavel Safronov | 23 | invert_enable = true |
748f09d4 2023-11-02 Pavel Safronov | 24 | invert_border = 5.0 |
| 25 | polygon = PoolVector2Array( 0, 0, 2048, 0, 2048, 1200, 0, 1200 ) | |
e9f8f8f2 2023-11-01 Pavel Safronov | 26 | |
| 27 | [node name="StarField" type="CPUParticles2D" parent="."] | |
748f09d4 2023-11-02 Pavel Safronov | 28 | amount = 200 |
2ef72487 2023-11-01 Pavel Safronov | 29 | lifetime = 10.0 |
748f09d4 2023-11-02 Pavel Safronov | 30 | preprocess = 191.72 |
2ef72487 2023-11-01 Pavel Safronov | 31 | texture = ExtResource( 1 ) |
e9f8f8f2 2023-11-01 Pavel Safronov | 32 | emission_shape = 2 |
5156ba97 2023-11-06 Pavel Safronov | 33 | emission_rect_extents = Vector2( 1024, 600 ) |
e9f8f8f2 2023-11-01 Pavel Safronov | 34 | gravity = Vector2( 0, 0 ) |
| 35 | angular_velocity = 50.0 | |
| 36 | angular_velocity_random = 1.0 | |
| 37 | scale_amount_random = 1.0 | |
| 38 | scale_amount_curve = SubResource( 1 ) | |
| 39 | color_ramp = SubResource( 4 ) |