Skip to content

Simple VR game to blast the most dangerous cabbage in the world

License

Notifications You must be signed in to change notification settings

VRFPS/VR-FPS-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VR FPS Engine

Live Demo license

Introduction

VR FPS Engine was a "stackathon" project built in the time span of 4 days. It is built on Mozilla's A-Frame web VR framework. It is a simple boilerplate for virtual reality and first person shooter games. Using simple WASD and space to jump a player can go around the map destroying cabbages (boxes) that are randomly generated on the map. At a certain point the cabbages randomly generate again. A player can click to shoots a bullet. When the bullet collides with the cabbage, it disappears. The cabbages and bullet are customizable. Double jump is a thing.

Installation

To use this simple boiler plate and modify it

Fork and clone this repository.

Then insall the dependencies

npm install

To start the server

npm start

Controls

Press WASD to move around

Press SPACE to jump. Twice to double jump

Click to shoot a bullet

Click the VR button to use app in VR mode

Move the mouse to look around

Then go to http://localhost:1337/ and destroy!

Special Thanks and Credits

A-Painter for the sky and floor images

ngokevin for the basic scaffolding for the shooting

About

Simple VR game to blast the most dangerous cabbage in the world

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published