diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-06-12 18:52:58 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-06-12 18:52:58 -0400 |
commit | 1175771c5e5259e08a53d40be36eda64ef831836 (patch) | |
tree | 8697617ef4a09cd8872c31a455bccd164ae3ec21 | |
parent | 40471cf464366a7f49110a31d00fec160856b60f (diff) | |
download | gmtk-gamejam-1175771c5e5259e08a53d40be36eda64ef831836.tar.gz gmtk-gamejam-1175771c5e5259e08a53d40be36eda64ef831836.tar.zst gmtk-gamejam-1175771c5e5259e08a53d40be36eda64ef831836.zip |
Fix scoring
-rw-r--r-- | Assets/Scripts/Controllers/GameController.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Assets/Scripts/Controllers/GameController.cs b/Assets/Scripts/Controllers/GameController.cs index 54a0425..de3b00c 100644 --- a/Assets/Scripts/Controllers/GameController.cs +++ b/Assets/Scripts/Controllers/GameController.cs @@ -49,15 +49,13 @@ namespace Controllers private Vector2 lastShotPosition; public void Score(Vector2 Rim) { - if (Vector2.Distance(lastShotPosition, Rim) >= 1) + if (Vector2.Distance(lastShotPosition, Rim) >= 10) { score += 3; - Debug.Log("Three point"); } else { score += 2; - Debug.Log("Two point"); } } |