add disclaimer
A simple drop-in JavaScript API to play multiplayer, web-based games (with authentication, friends, leaderboards).
Used in conjunction with the Galaxy API.
Note: This project is not ready for prime time. Not an official Mozilla project. Pre-alpha everything. Anything and everything at your own risk.
To install Node dependencies:
npm install
To set up symlinks for updating GitHub pages:
gulp symlink-git-hooks
To rebuild (compile and minify) the scripts while developing:
gulp dev
Two files will be written to the dist/ directory:
dist/
Alternatively, to rebuild the files and documentation just once:
gulp
To generate pretty docs from the code comments in galaxy.js:
galaxy.js
gulp docs
Read the docs.
When updating the docs, be sure to update GitHub pages. If you install the Git hooks, you’re all set.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
A simple drop-in JavaScript API to play multiplayer, web-based games (with authentication, friends, leaderboards).
Used in conjunction with the Galaxy API.
Downloads
Installation
To install Node dependencies:
To set up symlinks for updating GitHub pages:
Development
To rebuild (compile and minify) the scripts while developing:
Two files will be written to the
dist/directory:Alternatively, to rebuild the files and documentation just once:
Documentation
To generate pretty docs from the code comments in
galaxy.js:Read the docs.
When updating the docs, be sure to update GitHub pages. If you install the Git hooks, you’re all set.
Resources
Gamepad API Spec
Gamepad API Articles
Gamepad API Testers