<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=504731893395981&amp;ev=PageView&amp;noscript=1">
hololens-microsoft-back

Augmented Reality Game for Microsoft HoloLens

Gaming app powered by Unity and windows mixed reality
Microsoft-Hololens

Softeq wanted to explore Microsoft’s new AR platform—Microsoft HoloLens. Our gaming department decided to develop a HoloDefense game. It’s a tower defense strategy game in a space setting.

Project Information
Engagement model

Dedicated Development Team

Methodology

Kanban

Team
1

Game Designer

More Details

Problem

We set out to achieve an immersive AR experience.

The game had to offer lifelike game physics and natural sound effects. The app would be designed in Unity 3D and powered by Windows Mixed Reality. To make HoloDefense more immersive, all sounds would have to be in stereo and attached to virtual objects.

Solution

Augmented-Reality-Game-for-Microsoft-HoloLens

HoloDefense is the latest Augmented Reality gaming app Softeq has been working on to explore Microsoft’s new AR platform – Microsoft HoloLens. It’s a Tower Defense strategy in space settings. The player’s goal as the air defense commander is to protect a plasma factory from enemy spaceships appearing from portals.

How Augmented Reality Works in HoloDefense

  • Room scanning

    To start playing HoloDefense — you need to scan 40 square meters of space. When you look at the objects around — HoloLens recognizes them with 4 environment understanding cameras and scans with holographic processing unit (so called mapping process).

  • 3D modeling

    When enough room space is scanned, HoloLens builds a complete 3D model of the room — the actual playground where space warfare will take place. The headset uses it to place virtual objects (portals, enemy spaceships) in appropriate locations and track your movements inside the room.

  • Placing virtual objects

    Then you choose a place where to deploy your plasma factory. Any scanned flat surface is suitable — table, floor etc. The same rule works for turrets and other virtual objects.

  • Manipulating virtual objects with hand gestures

    After the base deploys, enemy spaceships appear from portals and start attacking it. You must place the turrets around the factory to defend it. You manipulate the turrets with the hand gestures supported by HoloLens — tap and hold.

Tech Stack: Unity and Windows Mixed Reality

Microsoft declares Unity as “the fastest path to build a mixed reality app”. The Softeq Unity developers leveraged multiple engine tools to create an immersive AR experience in HoloDefense. NVIDIA PhysX engine is responsible for lifelike game physics — enemy spaceships, when damaged, fall on the floor or table. 3D models were animated in Unity Animator.

JSON CONFIG FOR REAL-TIME BALANCING

The game logic is configured by 96 game settings (such as main base health, tower gun radius, enemy speed or portal’s build range). The config file is stored on the cloud, in JSON format. It allows game designers to balance the game settings in real time, without recreating the build.

SOUND EFFECTS

The sounds are stereo and attached to the virtual objects — it makes HoloDefense game more immersive. If the missile explodes behind you — you will hear it from behind, as in a real battle. You’re walking away from the holographic sound source — and the volume is fading. It feels natural.

GRAPHICS

The Softeq game artists created models of a plasma factory, several types of turrets, enemy spaceships, and portals. All the models are:

  • 3D: Virtual models look like real life objects, not flat holograms.
  • High Polygonal: Each model has lots of small details and looks realistic, whether you’re in 10cm or 10m from the model.
  • Manually Animated: Models are not static — mining station pumps plasma, turrets fire the enemy scouts, portals sparkle and spaceships’ engines burst flames while accelerating.

Have an Immersive Game Idea?

See how we blend cutting-edge tech like AR, VR, and AI to create the ultimate gaming experience Learn more
Anna-L
Margarita Account Manager