]> git.cameronkatri.com Git - gmtk-gamejam.git/commitdiff
Fix scoring
authorCameron Katri <me@cameronkatri.com>
Sat, 12 Jun 2021 22:52:58 +0000 (18:52 -0400)
committerCameron Katri <me@cameronkatri.com>
Sat, 12 Jun 2021 22:52:58 +0000 (18:52 -0400)
Assets/Scripts/Controllers/GameController.cs

index 54a04254d80db7b41449e664007274fbbc0352d6..de3b00c5479281f2570d782190d821062a657645 100644 (file)
@@ -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");
         }
       }