/camera-game

A simple webcam-based in js

Primary LanguageJavaScript

Destroy Oppressive Shapes with Orange-Colored Objects

A simple camera-based game I wrote during an eight hour game jam at the 2012 Boston Festival of Indie Games. It does not the most efficiently or robustly implemented, but it can be pretty fun.

Wave bright orange-colored objects on screen, and try to hit black squares, while avoiding blue ones. The longer one goes without missing, the faster it gets. The portions detected as orange are highlighted in red. The color detection is fairly rudimentary, and lighting dependent (I had too keep adjusting it as the day progressed), so your success may vary.

Uses WebRTC (getUserMedia), Canvas and HTML5 Video. Based on @cbrandolino/camvas.

Demo

Play at http://zkamsler.github.com/camera-game