From 7c82721449b09496ad4e33c04513e4253482f457 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 23 Apr 2014 17:43:09 -0400 Subject: basic collision detection --- rectangles.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rectangles.html') 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; -- cgit v1.2.3-70-g09d2