1
Fork 0
mirror of https://github.com/RYGhub/the-cold-night.git synced 2024-11-21 20:24:20 +00:00

🐛 Fix particles order

This commit is contained in:
Steffo 2022-04-05 01:38:59 +02:00
parent ac21c068e7
commit 7efbf2b1b8
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -58,14 +58,6 @@ tile_data = PoolIntArray( 0, 0, 131074, 1, 0, 131074, 2, 0, 131074, 3, 0, 131074
[node name="Darkness" parent="." instance=ExtResource( 13 )]
[node name="Particles2D" type="Particles2D" parent="."]
position = Vector2( 640, -120 )
amount = 1000
lifetime = 10.0
visibility_rect = Rect2( -640, 0, 1280, 640 )
process_material = SubResource( 2 )
texture = ExtResource( 7 )
[node name="Entities" type="Node" parent="."]
[node name="PhaseOnePlayer" parent="Entities" instance=ExtResource( 17 )]
@ -196,6 +188,14 @@ autostart = false
[node name="ChangeFireIntensity" parent="Entities/Containers/Pickups/BranchPickup4" index="3"]
amount_per_second = 30.0
[node name="Particles2D" type="Particles2D" parent="."]
position = Vector2( 640, -120 )
amount = 1000
lifetime = 6.0
visibility_rect = Rect2( -640, 0, 1280, 640 )
process_material = SubResource( 2 )
texture = ExtResource( 7 )
[connection signal="spawned" from="Entities/Containers/Enemies/TowardsFireSpawner/SpawnEveryPeriod" to="Entities/Containers/Enemies/TowardsFireSpawner/SpawnEveryPeriod/SetSpawnedGoalTo" method="_on_SpawnEveryPeriod_spawned"]
[connection signal="spawned" from="Entities/Containers/Enemies/TowardsFireSpawner/SpawnEveryPeriod" to="Entities/Containers/Enemies/TowardsFireSpawner/TeleportToScreenEdge" method="_on_SpawnEveryPeriod_spawned"]
[connection signal="spawned" from="Entities/Containers/Enemies/TowardsFireSpawner2/SpawnEveryPeriod" to="Entities/Containers/Enemies/TowardsFireSpawner2/SpawnEveryPeriod/SetSpawnedGoalTo" method="_on_SpawnEveryPeriod_spawned"]