Stonehenge is an augmented reality game challenging players to recreate structures with building bricks.
- Collaborators: Marlene Mayr, Eric Thalhammer
- Software: Unity, Vuforia
- Hardware: AR compatible device (Xiaomi Mi Mix 2s)
- My Task Areas: State Machine, Voxel Space, Serialization, UI Integration, Concept, Tool Development, the Brick
Concept
Stonehenge is based on the board game classic Make ’N’ Break by Ravensburger. The concept of this game is simple: the players try to reconstruct building instructions with wooden blocks and earn points. It is a mixture of dexterity and remaining calm during the stress. Our aim was to develop a similar application that can be played on a smartphone, which provides equally as much fun and makes use of the benefits of three-dimensional space. The player can grab blocks by tapping on the screen and maneuvers them by moving the device.
Main features I implemented:
- The game flow is handled by a custom state machine.
- Bricks follow a custom voxel grid reference. This allows easy placement and rotation-independent detection. One brick is essentially 1x1x3 voxels big.
- Brick recipes are saved as ScriptableObjects but only the voxel coordinates are stored, which minimizes the space needed.
- A custom tool allows developers to align building bricks in the editor, save the recipe and load it into a recipe bundle from within the inspector. This includes custom voxel gizmos.
- The bricks’ colors are dynamically mapped to an interchangeable color palette. This allows for easy customization (currently only available inside of Unity).
For detailed information, take a look at the project report: show .pdf
Gameplay Demo
Download
The project has been set up with Vuforia in Unity to quickly get started. The biggest drawback thereof is that a reference marker is needed to play the game. Either print the image included in the .zip file or open it on a tablet. The original sizing is adjusted to DIN A4 and will scale accordingly.
The following download contains the .apk file as well as the reference image: