Particles system
This commit is contained in:
parent
30266b36cf
commit
0e5dee50f7
46 changed files with 643 additions and 200 deletions
|
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://devn21c7luf45"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://devn21c7luf45"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://mt7vheq5modk" path="res://assets/shaders/greyscale.gdshader" id="1_d73yj"]
|
||||
[ext_resource type="Script" uid="uid://bj7rw2f6qu1lg" path="res://scripts/components/level/PlantField.cs" id="2_84bqh"]
|
||||
[ext_resource type="PackedScene" uid="uid://b4lx8adw6rbqs" path="res://scenes/particles/dirt_explosion.tscn" id="3_ddnu6"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_0miwm"]
|
||||
shader = ExtResource("1_d73yj")
|
||||
|
|
@ -10,6 +11,7 @@ shader_parameter/amount = 0.0
|
|||
[node name="FieldController" type="Node2D"]
|
||||
material = SubResource("ShaderMaterial_0miwm")
|
||||
script = ExtResource("2_84bqh")
|
||||
particles = ExtResource("3_ddnu6")
|
||||
|
||||
[node name="Preview" type="Node2D" parent="."]
|
||||
process_mode = 4
|
||||
|
|
|
|||
|
|
@ -2,12 +2,13 @@
|
|||
|
||||
[ext_resource type="Script" uid="uid://bso32xkw738sy" path="res://scripts/components/level/PoolContainer.cs" id="1_31ggc"]
|
||||
|
||||
[node name="Pools" type="Node2D" node_paths=PackedStringArray("Zombies", "Plants", "Projectiles", "Structures")]
|
||||
[node name="Pools" type="Node2D" node_paths=PackedStringArray("Zombies", "Plants", "Projectiles", "Structures", "Particles")]
|
||||
script = ExtResource("1_31ggc")
|
||||
Zombies = NodePath("Zombies")
|
||||
Plants = NodePath("Plants")
|
||||
Projectiles = NodePath("Projectiles")
|
||||
Structures = NodePath("Structures")
|
||||
Particles = NodePath("Particles")
|
||||
|
||||
[node name="Zombies" type="Node2D" parent="."]
|
||||
z_index = 3
|
||||
|
|
@ -24,3 +25,5 @@ y_sort_enabled = true
|
|||
[node name="Structures" type="Node2D" parent="."]
|
||||
z_index = 2
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Particles" type="Node2D" parent="."]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue