aboutsummaryrefslogtreecommitdiff
path: root/src/Physics.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-05 00:49:33 +0100
committerJoris Guyonvarch2015-03-05 01:00:44 +0100
commit2fe50fd2ebb1815a330b20e599f756fa393de81b (patch)
tree34585f3badb89e6f2a558e49c37f8cddf9714cf4 /src/Physics.elm
parent4b1f05234aa2485ef1333dd38e0751dd6e9f765d (diff)
Change game parameters
Diffstat (limited to 'src/Physics.elm')
-rw-r--r--src/Physics.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Physics.elm b/src/Physics.elm
index b59b3e1..2d2d627 100644
--- a/src/Physics.elm
+++ b/src/Physics.elm
@@ -23,7 +23,7 @@ getMove speed dir =
}
getAcc : Vec2 -> Vec2 -> Vec2
-getAcc move speed = (move `div` 800) `sub` (speed `div` 1000)
+getAcc move speed = (move `div` 300) `sub` (speed `div` 300)
getNewPos : Float -> Vec2 -> Vec2 -> Vec2 -> Vec2
getNewPos dt acc speed pos =