目录

galaxy.js logo

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.

Downloads

Installation

To install Node dependencies:

npm install

To set up symlinks for updating GitHub pages:

gulp symlink-git-hooks

Development

To rebuild (compile and minify) the scripts while developing:

gulp dev

Two files will be written to the dist/ directory:

Alternatively, to rebuild the files and documentation just once:

gulp

Documentation

To generate pretty docs from the code comments in 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.

Resources

Gamepad API Spec

Gamepad API Articles

Gamepad API Testers

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号