BeatGunner
A downloadable game for Windows
A Beat saber/Space pirate trainer style Virtual reality game. An Arcade FPS in VR, Pick up your blasters and shoot those colored cubes.
Optimised to run on Oculus, HTC vive and Mixed reality devices.
By making this project i learnt a lot, since i made this game for VR it should be optimised for performance. So i tried number of ways to reduce lag.
First, For increasing the performance, i dint use colliders or rigidbodies in bullet prefab. Instead i used raycast inside each bullet. So each bullet will check if it hits any collider within a small distance from itself using raycast instead of collider to collider check.
Then for instantiating game objects i used Object Polling technique. Since instantiating an gameobject during runtime increases cpu overhead which causes a lag spike. To tackle this problem, I simply spawned the object at the start of the scene and set it to inactive. Whenever i needed an object, i made it ready to use it, move the object to the spawn position and then set it to active. The "lag spike" will then just be part of the game loading the scene instead of interrupting gameplay.
Status | Released |
Platforms | Windows |
Rating | Rated 2.0 out of 5 stars (1 total ratings) |
Author | Jayanthvoyager |
Genre | Shooter |
Tags | Neon, Unity, Virtual Reality (VR) |
Download
Install instructions
Open BeatGunner.exe and enjoy the game in your VR headset.
Leave a comment
Log in with itch.io to leave a comment.