mirror of
https://github.com/DerTyp7/TopDownShooter-Godot.git
synced 2025-10-29 12:52:13 +01:00
Fix collider and add waves
This commit is contained in:
10
Bullet.gd
10
Bullet.gd
@@ -9,5 +9,15 @@ func _ready():
|
||||
destroy_timer.start()
|
||||
destroy_timer.connect("timeout", _on_destroy_timer_timeout)
|
||||
|
||||
|
||||
|
||||
func _on_destroy_timer_timeout():
|
||||
queue_free()
|
||||
|
||||
|
||||
|
||||
#func _on_body_entered(body):
|
||||
# print("---------------")
|
||||
# print(body.name)
|
||||
# if "Bullet" not in body.name:
|
||||
# queue_free()
|
||||
|
||||
Reference in New Issue
Block a user