Added aliens and glow on the numbers

This commit is contained in:
2024-05-08 19:51:02 +01:00
parent 6e2721bef8
commit bff1c6864b
66 changed files with 1552 additions and 135 deletions

View File

@@ -16,11 +16,11 @@ func set_upgrade(chr : String, color : Color) -> void:
func _on_body_entered(body: Node) -> void:
if body is Floor:
get_parent().remove_child(self)
queue_free()
get_parent().call_deferred("remove_child", self)
call_deferred("queue_free")
return
if body is Paddle:
upgrade_collected.emit(character)
get_parent().remove_child(self)
queue_free()
get_parent().call_deferred("remove_child", self)
call_deferred("queue_free")