microwar-image

MicroWar

Welcome to MicroWar, an VR game project implemented using the PICO Integration SDK. Our primary objective is to present an immersive experience that spotlights the breadth and depth of capabilities offered by the PICO Integration SDK. This single project encapsulates all the key features, demonstrating their integration potential for fellow developers.

Current version: 0.8.0

Trailer

Table of Contents

Download APK

Recent Updates
MR_Features

MR_Features

Important

The Mixed-Reality features are currently in an experimental phase and may undergo modifications.

How To Play

Game UI

Players have the option to navigate the UI using either controller line interactors or using Hand tracking poke gesture. The player have the ability to select two game modes on the main menu. In the single-player mode, you can promptly initiate a local solo game, fighting with a formidable AI bot. Alternatively, in the multiplayer mode, players can either create their own game room or join an existing one to engage in battles with other players. Of course, the option to include AI bots in multiplayer matches is also available.

Players also have the option to select and view the achievements they have earned or browse through the leaderboard from the main menu.

Check Vehicle status and Pick Vehicle

After entering the game, players can choose from three vehicles with distinct attributes. Using either a controller or hand tracking, they can pick up the tank and place it onto the illuminated sphere on the battlefield. This action grants them control of the chosen vehicle for gameplay. Once any player achieves victory in three rounds, the game will conclude.

Gameplay Instruction

Vehicle control

The Grab button on the controller is used to grab vehicles, while the Trigger button on the right controller is utilized to launch projectiles. The joysticks on the left and right controllers are employed to control the vehicle's movement direction and the turret's orientation, respectively.

In the gesture recognition mode, clenching the left hand into a fist and moving it over the suspended cursor will manipulate the vehicle to move in the corresponding direction. Pinching with the right hand triggers the firing of projectiles.

Power-ups

Power-ups will randomly spawn on the battlefield. Players can guide their vehicles to collect these power-ups. Currently, the game features two main types of power-ups:

  • Turret Activator: This item can be used to activate one of the three turrets placed within the scene. The activated turret will automatically attack all enemies except the player.

  • Crate: This power-up generates a crate in front of the player. The player can break the crate using the controller or by tracking foot movements through the body tracker to acquire the bonus inside. There are two types of bonuses available: health regeneration and immunity to a single attack.

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • PICO 4 / PICO 4 PRO
  • Unity 2021.3.28f1
  • PICO Developer Center (Optional)

Getting The Code

First, ensure you have Git LFS installed by running this command:

git lfs install

Then, clone this repo using the "Code" button above, or this command:

git clone https://github.com/picoxr/MicroWar

First Run

  • Clone the project to your local folder.
  • Open the project with Unity Editor
  • Change the platform to Android in Build Setting
  • Please follow the instructions here to complete project settings.
  • If you want to use your own APPID and platform services, please follow the instructions here to create a developer account. and configure the application on Pico Developer Console along with the Achievements, Leaderboards, Access Rights for multiplayer etc.

Make a build and run on the headset.

In Unity Editor, click "File/Build Settings/Build And Run". Make sure the platform is set to Android.

Run in Unity Editor via Live Preview Plug-in (If you have PDC installed)

Please follow the insturctions here to setup PDC and click play button in Boot Scene.

Dependencies

  • PICO Integration SDK 2.5.0
  • PUI 5.9.0
  • Live Preview Plug-in 1.0.1
  • PICO Avatar SDK 1.0.0
  • XR Hands 1.2.1
  • XR Interaction Toolkit 2.4.3
  • Netcode for GameObjects 1.5.2

Features

Assets used in this project

Changelog

See the Changelog for a detailed history of changes.

Upcoming Features/Updates

  • Gameplay Improvements
  • Various Bug-Fixes

Get Involved

We value your questions and ideas. If you're curious about specific aspects of MicroWar or have innovative suggestions, don't hesitate to get in touch. Reach out to us at pico_devsupport@bytedance.com, and let's collaborate to elevate the world of VR development together.

Thank you for your interest in MicroWar and the PICO Integration SDK. Let's embark on a journey of immersive possibilities!