hyper space

This commit is contained in:
Patrick Nueser
2024-06-28 15:30:44 +02:00
commit 1e4be7ba8d
75 changed files with 1813 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
extends Area2D
@export var speed = 150
func start(pos):
position = pos
func _process(delta):
position.y += speed * delta
func _on_visible_on_screen_notifier_2d_screen_exited():
queue_free() # Replace with function body.
func _on_area_entered(area):
if area.name == "Player":
queue_free()
area.shield -= 1