Added explosion on laser destroy

This commit is contained in:
2024-05-12 22:14:37 +01:00
parent 750f21bdac
commit 6b69380e85
10 changed files with 220 additions and 28 deletions

View File

@@ -60,7 +60,7 @@ func _on_body_exited(body: Node) -> void:
if not body.visible:
return
$BrickSound.play()
body.hit(1)
body.hit(1, false)
hit_brick.emit(self, body, 1)
speed += 1
return