aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Assets
diff options
context:
space:
mode:
authorCarson Katri <carson.katri@gmail.com>2021-06-12 19:08:24 -0400
committerCarson Katri <carson.katri@gmail.com>2021-06-12 19:08:24 -0400
commit227cae006184f6b7c73ef087ceb3d683e39c45b7 (patch)
tree01a289b04f05234493b30f9baecf412e94623666 /Assets
parent14a66e46ca92a6833c470a69126b4660f6cff462 (diff)
parent1175771c5e5259e08a53d40be36eda64ef831836 (diff)
downloadgmtk-gamejam-227cae006184f6b7c73ef087ceb3d683e39c45b7.tar.gz
gmtk-gamejam-227cae006184f6b7c73ef087ceb3d683e39c45b7.tar.zst
gmtk-gamejam-227cae006184f6b7c73ef087ceb3d683e39c45b7.zip
Merge branch 'master' of git.cameronkatri.com:gmtk-gamejam
Diffstat (limited to 'Assets')
-rw-r--r--Assets/Scripts/Controllers/GameController.cs4
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");
}
}