Cube Beat War allows players to cast the magical Kame Hame Ha with their hands. To do this, players must perform specific hand gestures, such as bringing their palms together and then opening them to generate magic, and pushing forward to cast it. The game includes a menu and a scoring system, and consists of eliminating colored cubes that appear randomly. The game uses a gesture detection library that allows players to interact with the menu using the finger pointing gesture, as if it were a laser pointer. The game ends when all the cubes are eliminated. The application uses the Oculus XR plugin and requires Unity 2021.2.5f1 and an Oculus Quest 2 to work.
How to play:
- Show/hide menu: Perform a devil’s horns gesture with the right hand.
- Cursor: Make a pointing gesture with the index finger.
- Pressing palms together and then opening them generates magic.
- Pushing forward launches magic.
New implementations in this development:
- Universal rendering pipeline migration.
- Backed and URP materials for the SpaceShip model.
- Modified and reused shaders to work in VR and URP.
- The gesture recognition script now has the ability to set a time interval for the gesture to be recognized. This controls false positives.
- Dynamic script game menu.
- Level creation script.
- Scores and game pause.
Reused from previous projects:
- Gesture recognition script.
- Kame Hame Ha script to perform magic through gestures.
- Modified and adapted shaders by myself.
- Texture and materials of hand photos of my hand.
- Own utility library.
- Oculus XR plugin.
- Pack of 52 special effects.
- Unity 2021.2.5f1.
- Oculus Quest 2.
Download in Github.