summaryrefslogtreecommitdiff
path: root/rectangles.html
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-04-23 17:43:09 -0400
committerJules Laplace <jules@okfoc.us>2014-04-23 17:43:09 -0400
commit7c82721449b09496ad4e33c04513e4253482f457 (patch)
tree24b783981dcc0d1b188227d079ea13042895440e /rectangles.html
parent1282559bffc1acbc99a22ecfef44227eefbc9817 (diff)
basic collision detection
Diffstat (limited to 'rectangles.html')
-rw-r--r--rectangles.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/rectangles.html b/rectangles.html
index 9713561..d2b1330 100644
--- a/rectangles.html
+++ b/rectangles.html
@@ -25,6 +25,7 @@ body > div {
.floor { background-color: #00f; }
.ceiling { background-color: #f00; }
+
.active.front { background-color: #ddf; }
.active.back { background-color: #bbe; }
.active.left { background-color: #aad; }
@@ -32,6 +33,12 @@ body > div {
.active.floor { background-color: #0ff; }
.active.ceiling { background-color: #ff0; }
+/*
+.face {
+ background-image: url(http://i.asdf.us/im/6f/bgdither_1398274442_jules.gif);
+ background-color: transparent;
+}
+ */
#map canvas {
border-bottom: 2px solid #ddd;