summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2014-12-26 13:18:11 (GMT)
committerMichele Bini <michele.bini@gmail.com>2014-12-26 13:18:11 (GMT)
commit74871c43147b788fba3722572d1141b91cc63ce7 (patch)
tree16908713e665e557a12e292facd3a8d4b5fffd04
parent2543d9f985f34635b2b9f77a480f6482573d7bcc (diff)
Fix heroine's movement, try n.3
-rw-r--r--game.html.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/game.html.coffee b/game.html.coffee
index fe6f98d..28d6b7a 100644
--- a/game.html.coffee
+++ b/game.html.coffee
@@ -4,7 +4,7 @@
# This program is available under the terms of the MIT License
-version = "0.2.342"
+version = "0.2.343"
{ htmlcup } = require 'htmlcup'
@@ -420,8 +420,8 @@ genPage = ->
vx *= 0.8
vy *= 0.8
else
- fvx *= 0.95
- fvy *= 0.95
+ vx *= 0.95
+ vy *= 0.95
@vx = vx
@vy = vy
@px = (@fpx += @vx)