An AR Game

An augmented reality 2D to 3D puzzler

Construido utilizando JavaScript, HTML5, Canvas, WebGL, Video,

  • 346 visualizaciones
  • 1 comentarios

Más sobre esta demo del autor

There are two rules: capture the pieces before they fall on the ground; and capture them in the specified order. If you succeed you'll move onto the next level. If you fail... well, then try again.

This game uses AR markers to control wormholes; which are portals between a 2D and 3D world. In order to play you'll need to print the AR marker page. A link is provided in-game. Fasten the page to a piece of cardboard for ease of manipulation. Show the page to your webcam, and align the reticule with a marker to open a wormhole. A gameplay video link is provided should you need an example or are unwilling to waste ink/paper.

Please note that a well-lit play area is required. Increasing your display's brightness is a good way to provide illumination; since it casts light onto the markers.

Technologies used:

Three.js (http://threejs.org)
Box2D.js (https://github.com/kripken/box2d.js/‎)
CreateJS (http://www.createjs.com/‎)
JSARToolkit (https://github.com/kig/JSARToolKit‎)

Play here: http://abrie.github.io/devderby-may-2013

1 comentario hasta ahora

Log in to add your own.

  1. m.Joudeh dijo:

    First of all, very nice!
    But when I downloaded the source code and ran it, my Chrome Browser showed a "JavaScript Alert" saying "Couldn't access webcam." That didn't happen when I launched the demo online, since I was prompted to allow webcam access.
    What to do?

About this Demo

Descarga el arhivo ZIP 401.51 KB · con el código fuente

Browse the Source

Esta demo se publica bajo una licencia MPL/GPL/LGPL.