diff options
| author | Logan <logan@cflip.net> | 2022-09-23 22:51:09 -0600 |
|---|---|---|
| committer | Logan <logan@cflip.net> | 2022-09-23 22:51:09 -0600 |
| commit | c67cf0598998b3974a4e472a2570c404d83bd80e (patch) | |
| tree | 50067ed9a90e81692bfa29356dfc01650f9e5630 /scripts | |
| parent | 31889ce9c6604d5cdf42951c9991d15ff9077da2 (diff) | |
Added one-way collision and area detection to hoop.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/hoop.gd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/hoop.gd b/scripts/hoop.gd new file mode 100644 index 0000000..756501b --- /dev/null +++ b/scripts/hoop.gd @@ -0,0 +1,6 @@ +extends StaticBody2D + +signal score + +func _on_Area2D_body_exited(body): + emit_signal ("score") |
