Add files via upload

This commit is contained in:
brausjonas
2023-10-07 00:50:42 +02:00
committed by GitHub
parent 286615fa44
commit 18da5a38a0
99 changed files with 2014 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
extends Node2D
signal bird_hit
signal bird_score
func _physics_process(delta):
position.x -= delta * 100
if position.x < -170:
queue_free()
func _on_pipe_entered(body):
bird_hit.emit()
func _on_score_area_exit(body):
bird_score.emit()