simple, first-person zombie shooter for Google Cardboard Virtual Reality viewer, built using Unity 5.2.
feel free to contribute or fork to create your own game for personal or commercial use.
note: if you seriously intend to fork this for your own purposes, let me know so i can clean up the code a bit to make it easier to read. either upvote this task or use my contact at the bottom.
- get a Google Cardboard. either search on google for cheaper options in your country, or see this list of viewers in US/EU
- install Unity 5.x (free or pro)
git clone [email protected]:cmdr2/trooper2c.git
- open the downloaded trooper2c project in Unity
- press the play button to run in Unity. connect your phone and press Ctrl+B or Cmd+B to run on your phone and see in the Cardboard viewer.
Assets/Scripts/EnemySpawnManager.js
contains the core logic (written in UnityScript (similar to Javascript))
- create your Play Store account
- open Player settings from Edit > Project Settings > Player
- set the
Bundle Identifier
andBundle Version
to your.company.product under 'Other Settings' (e.g. org.cmdr2.places) - select the
Create New Keystore
checkbox under 'Publishing settings', then pressBrowse Keystore
and select user.keystore - enter a new Keystore password (and confirm password)
- open the
alias
dropdown and select create new. fill in the details, and create a new password - (optional) click on 'Analytics' in the 'Hierarchy' pane and set the Tracking code, Product Name, and Bundle Identifier to your choice.
- Build the .apk using File > Build Settings > Build.
- Upload the .apk file to Google Play Store and publish after filling in your application details and screenshots.
email: secondary 'dot' cmdr2 'at' gmail 'dot' com
reddit: u/cmdr2
twitter: cmdr2