项目作者: FranciscoKnebel

项目描述 :
MelonJS Space Invaders-like space shooter game implementation.
高级语言: JavaScript
项目地址: git://github.com/FranciscoKnebel/spaceinvader.git
创建时间: 2017-04-23T02:59:21Z
项目社区:https://github.com/FranciscoKnebel/spaceinvader

开源协议:MIT License

下载


Space Invader

A MelonJS Space Invaders-like space shooter game.
You can play the latest stable release right here in your browser, at https://franciscoknebel.github.io/spaceinvader/.

Instructions to create an executable for most platforms can be found below.

Inspired by the example from http://melonjs.github.io/tutorial-space-invaders/

development
Travis
AppVeyor

master
Travis
AppVeyor

Greenkeeper badge

Development

Before anything, please read the CONTRIBUTING.md file, for all the project guidelines.

To build, be sure you have node installed. Clone the project:

  1. git clone --recurse-submodules https://github.com/FranciscoKnebel/spaceinvader.git

Then in the cloned directory, simply run:

  1. npm install

Install the submodule dependencies too:

  1. npm run install-submodules
  2. Be sure to check if the module projects have any other setup on their respective README.md files.

You must also have grunt-cli installed globally:

  1. npm install -g grunt-cli

Developing the game:

  1. grunt dev

And you will have the game running on http://localhost:8000

Building Release Versions

To build:

  1. grunt

This will create a build directory containing the files that can be uploaded to a server, or packaged into a mobile app.

Updating docs folder for web release

  1. npm run build-docs

Packaging a standalone desktop release via scripts

  1. grunt dist
  2. npm run build-**

Where ** can be win32 (Windows), linux (Linux) and darwin (OSX).

Packaging all desktop releases

  1. npm run build-all

Building a standalone desktop release

  1. grunt dist
Running the desktop release on Windows
  1. .\bin\electron.exe
Running the desktop release on macOS
  1. open ./bin/Electron.app
Running the desktop release on Linux
  1. ./bin/electron

Credits

Authors










Francisco Knebel

Contributions by FranciscoKnebel

See also the full list of contributors who participated in this project.

Other credited work

Music, artwork and other accreditations can be found on the CREDITS.md file.

Music bitrate change using MP3 Quality Modifier 2.5.3.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.