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.5
Trailer
Important
The Mixed-Reality features are currently in an experimental phase and may undergo modifications.
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.
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.
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.
Before you begin, ensure you have met the following requirements:
- PICO 4 / PICO 4 Ultra / PICO 4 PRO
- Unity 2021.3.28f1
- PICO Developer Center (Optional)
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
- 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.
In Unity Editor, click "File/Build Settings/Build And Run". Make sure the platform is set to Android.
Please follow the insturctions here to setup PDC and click play button in Boot Scene.
- PICO Integration SDK 3.0.2
- PUI 5.11.0+
- PICO Avatar SDK 2.0.0
- XR Hands 1.2.1
- XR Interaction Toolkit 2.4.3
- Netcode for GameObjects 1.5.2
- Interaction, Mixed-Reality & Avatars
- Platform Service
- Assets from Kenny.nl
- SFX from OpenGameArt, Sonniss - Game Audio GDC
- Prefab Lightmap Data Script: https://github.com/Ayfel/PrefabLightmapping/blob/master/PrefabLightmapData.cs
See the Changelog for a detailed history of changes.
- Gameplay Improvements
- Various Bug-Fixes
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!