AR Flappy Bird

Me and another NYU student created a 3D Augmented Reality Flappy Bird. The game can be played on desktop or mobile here. The full source code for the game can be found Here.

How to Play

Setup

A sample of the game running with the right setup can be seen on the gif above.
This game is recommended to be played on a Smart Phone.
  1. Print this image (recommended), or pull it up on an Smart Phone.
  2. Go to the game's website.
  3. If on an iphone press aa on the top left and select "hide toolbar"
  4. Lay down the image from step 1 flat on a surface and point the image as seen in the gif above.
  5. Point the camera towards the image.
  6. If the camera is pointed toward the paper correctly and the paper is facing the correct way then a click to start label should appear.
  7. Finally, simply Click to begin!

Controls

If your using a computer click your mouse to start/restart as well as jump, on the otherhand if your on iphone simply click anywhere on your screen.

Gameplay

Fly your plane around while doging the green pipes that appear in front of you. Every time you pass an obstacle you score a point, try to see how high you can score!

Resources

  • P5.js- For providing preloader, and draw loop
  • A-Frame- For creating the 3D Scene and image processing.
  • Three.js- For rendering 3D Objects.
  • A-Frame P5- To control A frame with P5.js.

“Looking to the future, the next big step will be for the very concept of the ‘device’ to fade away.”

Sundar Pichai