Adds enemies
This commit is contained in:
parent
cf8ba8bacb
commit
76e5b1927f
324 changed files with 28447 additions and 106 deletions
12
scripts/muzzleflash.gd
Normal file
12
scripts/muzzleflash.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends Node3D
|
||||
|
||||
@onready var timer: Timer = $Timer
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
rotate_z(randf())
|
||||
timer.timeout.connect(self.completed)
|
||||
|
||||
|
||||
func completed() -> void:
|
||||
queue_free()
|
||||
Loading…
Add table
Add a link
Reference in a new issue