diff --git a/assets/cursor.png b/assets/cursor.png index f559d44..5332027 100644 Binary files a/assets/cursor.png and b/assets/cursor.png differ diff --git a/cache.manifest b/cache.manifest index 015a0f9..23f6899 100644 --- a/cache.manifest +++ b/cache.manifest @@ -1,5 +1,5 @@ CACHE MANIFEST -# v2.0.0d10 +# v2.0.0d13 CACHE: index.html main.js diff --git a/index.html b/index.html index a13e741..930343b 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + The Bunnies, Inc. @@ -28,11 +28,11 @@
diff --git a/main.css b/main.css index e83af2c..b665b2c 100644 --- a/main.css +++ b/main.css @@ -29,7 +29,7 @@ font-size: 20px; line-height: 20px; vertical-align: middle; overflow: hidden; -cursor: url(cursor.png) 4 4, auto; +cursor: url(assets/cursor.png) 4 4, auto; } #map_canvas { width: 100%; diff --git a/main.js b/main.js index ad08ff3..b52e227 100644 --- a/main.js +++ b/main.js @@ -1,15 +1,17 @@ $(document).ready(function() { -step=3; -stti=10; -frames=stti/2; -interf=0; -interb=0; -interl=0; -interr=0; -player["x"]=0; -player["y"]=0; -evil; +var step=3; +var stti=10; +var frames=stti/2; +var interf=0; +var interb=0; +var interl=0; +var interr=0; +var player={ + x: 0, + y: 0 +}; +var evil=[]; function angle(x, y, bx, by) { return Math.atan2(bx-x, by-y)/Math.PI*-180; @@ -32,16 +34,6 @@ map.panBy(step, 0); player["y"]+=step; } -$("#endg").click(function() { -window.location.reload(); -}); -$("#aboutc").click(function() { -$("#aboutc").fadeOut(); -}); -$("#about").click(function() { -$("#aboutc").fadeIn(); -}); - window.addEventListener('load', function(e) { window.applicationCache.addEventListener('updateready', function(e) { if (window.applicationCache.status == window.applicationCache.UPDATEREADY) { @@ -314,4 +306,18 @@ start(); }, 4500); } +$("#endg").click(function() { +window.location.reload(); +}); +$("#aboutc").click(function() { +$("#aboutc").fadeOut(); +}); +$("#about").click(function() { +$("#aboutc").fadeIn(); +}); + +$("#play").click(function() { +getready(); +}); + }); \ No newline at end of file diff --git a/xcf/cursor.xcf b/xcf/cursor.xcf index 8598761..607c47d 100644 Binary files a/xcf/cursor.xcf and b/xcf/cursor.xcf differ