Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.47 KB

File metadata and controls

42 lines (25 loc) · 1.47 KB

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