summaryrefslogtreecommitdiff
path: root/SunkenMoon.html.coffee
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2014-12-15 20:37:03 (GMT)
committerMichele Bini <michele.bini@gmail.com>2014-12-15 20:39:29 (GMT)
commit6abf89fc6c5c216cc77dbf338f32dbe6ae9388e2 (patch)
treef5021949ff5d5c6796564fecb8ed62cf9e3ff071 /SunkenMoon.html.coffee
parent265d6d7e53446379413b31ebfa5296c0d8587458 (diff)
Tweak evil bubble speed, properly make stilla disappear
Diffstat (limited to 'SunkenMoon.html.coffee')
-rw-r--r--SunkenMoon.html.coffee5
1 files changed, 3 insertions, 2 deletions
diff --git a/SunkenMoon.html.coffee b/SunkenMoon.html.coffee
index fa539bb..846b5ba 100644
--- a/SunkenMoon.html.coffee
+++ b/SunkenMoon.html.coffee
@@ -4,7 +4,7 @@
# This program is available under the terms of the MIT License
-version = "0.2.243"
+version = "0.2.247"
{ htmlcup } = require 'htmlcup'
@@ -199,7 +199,7 @@ genPage = ->
@lr = 15
@tb = 15
@cr = 8
- @vy_ = -8
+ @vy_ = -7
@life = 2200
super()
draw: (collisions, game)->
@@ -1039,6 +1039,7 @@ genPage = ->
x = stilla.px -= px
y = stilla.py -= py
if stilla.dead or x * x + y * y > rad * 16
+ stilla.goodnight(@)
@stilla = null
else
stilla.draw(collisions, @)