prototype
This commit is contained in:
commit
5bac9ddd2a
33 changed files with 956 additions and 0 deletions
8
lifetime.gd
Normal file
8
lifetime.gd
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extends Node
|
||||
|
||||
@export var duration := 10.
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
duration -= delta
|
||||
if duration <= 0:
|
||||
get_parent().queue_free()
|
||||
Loading…
Add table
Add a link
Reference in a new issue