https://github.com/juankz/theline
A-Frame game for js13k 2018
https://github.com/juankz/theline
a-frame aframe-game aframe-vr vr
Last synced: 5 months ago
JSON representation
A-Frame game for js13k 2018
- Host: GitHub
- URL: https://github.com/juankz/theline
- Owner: Juankz
- License: mit
- Created: 2018-09-13T10:37:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-13T20:22:45.000Z (over 7 years ago)
- Last Synced: 2025-01-22T08:35:16.736Z (over 1 year ago)
- Topics: a-frame, aframe-game, aframe-vr, vr
- Language: HTML
- Homepage: https://js13kgames.com/entries/the-line
- Size: 62.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# theline
An A-Frame game for js13k 2018. WebXR category
## Development
**Prerequisites**
- Node js https://nodejs.org/en/
- grunt-cli `npm install -g grunt-cli`
- Node serve `npm install -g serve`
**Running on local machine**
Use node serve command: `serve`. This will setup a server looking for an index.html file on the directory where was executed.
_If you try to open the index.html file on the browser without a server, it will not load any images or sounds._
**Distribution**
Use grunt-cli command: `grunt default`.
This will apply minification to files (js,html) and compresion to images (png,jpg,svg) and locates them inside the `dist/` folder. Aditionally creates a .zip file of the `dist/` folder.
**Warning**
The code of this project is quite messy, some portions are commented and understandable, some other may not. So use at your own risk