summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/map/_map.js
diff options
context:
space:
mode:
authorJulie Lala <jules@okfoc.us>2014-04-22 01:38:00 -0400
committerJulie Lala <jules@okfoc.us>2014-04-22 01:38:00 -0400
commit7d73354432c714fffa47563d0424cc51964238d3 (patch)
treedb308dd0d5a54d83aee213b9a50a5c5da345ed0a /assets/javascripts/rectangles/map/_map.js
parentc618f157845c6baa492c935dc84012d392993f8f (diff)
ok fixed map stuff for real
Diffstat (limited to 'assets/javascripts/rectangles/map/_map.js')
-rw-r--r--assets/javascripts/rectangles/map/_map.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/javascripts/rectangles/map/_map.js b/assets/javascripts/rectangles/map/_map.js
index b7e9536..20db8fc 100644
--- a/assets/javascripts/rectangles/map/_map.js
+++ b/assets/javascripts/rectangles/map/_map.js
@@ -5,6 +5,7 @@ window.ctx = window.w = window.h = null;
var map = new function(){
var base = this
+ base.dimensions = new vec2(500,500)
base.bounds = new vec2(500,500)
base.center = new vec2(0,0)
@@ -14,7 +15,7 @@ var map = new function(){
base.center.a + sides.a, base.center.b + sides.b )
}
- base.zoom = 1/4
+ base.zoom = 1/8
var canvas = document.createElement("canvas")
var ctx = window.ctx = canvas.getContext("2d")