top of page

VR Archery

Game Engine: Unity

Coding Lanaguge: C#

Platform: Samsung VR, Google Daydream, VR, Android

Description:

VR Archery is a simple game that i made for my final year project during my last semester in Nanyang Polytechnic(NYP).

The goal of this game is to demonstrate the usage of a VR controller as a remote game controller for interaction with the virtual world, as compared to the traditional method using VR headset controls.

Techniques Used:

  • Multiple Platform Control

  • As Unity is a game engine that can be used to built games for different platform, a different set of controls are needed for each different platform. One example being that you can't use the controls for the VR controller on the PC.

  • To help make the code cleaner, as instead of multiple if else statement just to cater for different platform control. I wrote the code in a way that it would check for one platform's control instead of multiple platforms, hence improving performance.

  • Particle System (Optimized)

  • Instead of generating particles when they are needed, the particles are generated before hand and when they are needed. The particle system would reuse preexisting unused particles instead of generating new ones, which it would only do if there aren't any preexisting unused particles.

  • Physics

  • Arrows shot in the videos are affected by gravity, with the tip of the arrow being heavier and as such as soon as it had been released. The arrow tip would slowly rotate the tip towards the ground, giving it a realistic feel.

Featured Posts
Recent Posts
Archive
Search By Tags
No tags yet.
bottom of page