My Inspiration was to build a fun puzzle game that can be played In augmented reality and introduces coding concepts to young children and adults alike. I was also inspired by tools like Scratch which let you code with blocks, combine that with AR and you have a fun learning experience.

What it does

AR coding game is a logical puzzle game that is aimed at teaching basic programming through problem-solving objectives in augmented reality. The objective of the game is to use directional commands (forward, right, and left) to get the bunny to the goal. The game has a virtual UI that allows players to input and remove commands and run the program. As players progress through the game, they unlock new functionality such as looping and harder levels with obstacles. With easy-to-follow instructions and a friendly colorful user interface young children are able to get the hang of the game pretty quickly even as the game progresses to harder levels.

How we built it

With the help of Lens Studio, I was able to build this game from the ground up. I started by importing 3D models and 2D textures I made in tools like blender and Inkscape into Lens Studio. I made the virtual user interface using 3D planes. I made heavy use of the Lens studio scripting engine, I was able to write complex game logic and create a rich interactive experience.

I had to design 10 puzzles for the game the first three levels introduce the user to basic sequences, using "FORWARD", "LEFT" and "RIGHT" commands the next three levels introduce the user to boolean logic in these levels we introduce switches that have to be activated in order to get rid of the obstacle, e.g if switch 1 and switch 2 are activated remove the spikes. The last four levels introduce the user to loops with the "Loop" and "End Loop" commands. Below are all the 10 levels currently in the game.

Alt text

To create the 3D models I used MagicaVoxel and Blender. I also downloaded a few free-to-use 3D assets from Kenney: link. I made the main rabbit character with MagicaVoxel and exported it in .obj format

For the sound effects, I downloaded some free-to-use audio from FreeSounds: link

Challenges we ran into

It was quite a challenge trying to create this game In a tool I have never used but after a few days, I got the hang of it and realized just how powerful Lens Studio is.

Accomplishments that we're proud of

Bringing this idea from concept to a working application is one thing that I'm proud of.

What we learned

I learned a lot about Lens Studio and how to build Snapcaht Lenses with it.

What's next for AR Coding Game

I look forward to adding move levels and more functionality to the game, with more programming concepts. I want it to attract, inspire, and empower new programmers.

Built With

Share this project: