From 76706ac497ee65614b2c7c59933d549b614ef5e6 Mon Sep 17 00:00:00 2001 From: Logan Date: Fri, 23 Sep 2022 23:48:38 -0600 Subject: Basic UI with score counter and other minor changes. --- scripts/basketball.gd | 1 - scripts/hoop.gd | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/basketball.gd b/scripts/basketball.gd index 43944c5..8cf169d 100644 --- a/scripts/basketball.gd +++ b/scripts/basketball.gd @@ -4,7 +4,6 @@ var start_position var do_reset = true var is_reset = true -# Called when the node enters the scene tree for the first time. func _ready(): start_position = position diff --git a/scripts/hoop.gd b/scripts/hoop.gd index 756501b..0ff820a 100644 --- a/scripts/hoop.gd +++ b/scripts/hoop.gd @@ -2,5 +2,5 @@ extends StaticBody2D signal score -func _on_Area2D_body_exited(body): +func _on_Area2D_body_exited(_body): emit_signal ("score") -- cgit v1.2.3