Added magnetic paddle graphic and fixed double-hit bug

This commit is contained in:
2024-05-08 13:08:42 +01:00
parent 0cc0b4a40b
commit 6e2721bef8
5 changed files with 70 additions and 14 deletions

View File

@@ -76,7 +76,9 @@ func type(base : int, color : Color) -> void:
value = 0
func _on_area_2d_body_entered(body: Node2D) -> void:
if not pass_mode: return
if body is Ball:
print("Area hit ball")
body._on_body_exited(self)
pass # Replace with function body.