summaryrefslogtreecommitdiff
path: root/particles/p_Explosion.gd
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-09-07 14:16:17 -0400
committerAnson Bridges <bridges.anson@gmail.com>2022-09-07 14:16:17 -0400
commit366761197034a20d444282431e4a8edeb7882840 (patch)
tree63d7b11eccbb499aef8f5afc3634945c63c14ff5 /particles/p_Explosion.gd
parentc232b92e2dde1277324d1f89d0e75ae641e4ac3b (diff)
whoops, fixed reorg
Diffstat (limited to 'particles/p_Explosion.gd')
-rw-r--r--particles/p_Explosion.gd31
1 files changed, 0 insertions, 31 deletions
diff --git a/particles/p_Explosion.gd b/particles/p_Explosion.gd
deleted file mode 100644
index f0cbd96..0000000
--- a/particles/p_Explosion.gd
+++ /dev/null
@@ -1,31 +0,0 @@
-extends Spatial
-
-
-# Declare member variables here. Examples:
-# var a = 2
-# var b = "text"
-var timer = 0
-#Vector3
-# Called when the node enters the scene tree for the first time.
-func _ready():
- pass # Replace with function body.
-
-func init(position, norm):
- global_transform.origin = position+norm*.1
- $outer_flash2.translate(norm*.3)
- $debris1.process_material.direction = norm
- $debris2.process_material.direction = norm
-
- $shock.restart()
- $flame1.restart()
- $outer_flash.restart()
- $outer_flash2.restart()
- #$smoke.restart()
- $debris1.restart()
- $debris2.restart()
-
-#Called every frame. 'delta' is the elapsed time since the previous frame.
-func _process(delta):
- if timer > 1:
- queue_free()
- timer += delta