diff --git a/cache.manifest b/cache.manifest
index 929bfa7..64aed27 100644
--- a/cache.manifest
+++ b/cache.manifest
@@ -1,5 +1,5 @@
CACHE MANIFEST
-# v2.0.0d7
+# v2.0.0d8
CACHE:
index.html
main.js
diff --git a/index.html b/index.html
index 08c836c..2deb8d4 100644
--- a/index.html
+++ b/index.html
@@ -33,7 +33,7 @@
About
How to play
-Alpha Version 2.0.0 release 7
+Alpha Version 2.0.0 release 8
diff --git a/main.js b/main.js
index f256548..e29935f 100644
--- a/main.js
+++ b/main.js
@@ -1,10 +1,14 @@
step=3;
stti=10;
+frames=stti/2;
interf=0;
interb=0;
interl=0;
interr=0;
+player["x"]=0;
+player["y"]=0;
+evil;
function angle(x, y, bx, by) {
return Math.atan2(bx-x, by-y)/Math.PI*-180;
@@ -12,15 +16,19 @@ return Math.atan2(bx-x, by-y)/Math.PI*-180;
function dpf() {
map.panBy(0, -step);
+player["x"]-=step;
}
function dpb() {
map.panBy(0, step);
+player["x"]+=step;
}
function dpl() {
map.panBy(-step, 0);
+player["y"]-=step;
}
function dpr() {
map.panBy(step, 0);
+player["y"]+=step;
}
$("#endg").click(function() {