Find a file
2016-07-11 15:50:24 +02:00
public cull body rendering 2016-07-11 15:50:24 +02:00
server fix game crashing on ship destruction 2016-04-02 18:43:11 +01:00
tests add simple fuzz test 2016-03-27 20:26:53 +01:00
.gitignore prevent asteroids from spawning as wedges 2016-03-30 09:53:48 +01:00
index.js add timestamps to log 2016-03-27 12:01:39 +01:00
package.json add compiling of client code to es5 2016-04-02 18:35:49 +01:00
README.md add command line arguments 2016-03-29 13:45:23 +01:00
test.js add simple fuzz test 2016-03-27 20:26:53 +01:00
TODO add lasers 2016-03-30 19:15:06 +01:00

Wingbase

Wingbase is a top-down spaceship game in which two teams of four players each compete to destroy their enemy's base while at the same time collecting resources for their own base. These resources can then be used to purchase more powerful ships upon respawn, to build defense turrets, or to research new weapons and upgrades.

The game is built in Javascript using HTML5 Canvas for client rendering, Box2D for physics, and Node.js with Socket.io for the server.

###Installation

Clone the Git repository, install Node.js version 5.6.0 or higher then run npm install in the project directory.

Make sure that the command node links to this Node.js version and not nodejs.

If you have an older version of Node.js you can upgrade by running sudo npm install -g n and then sudo n latest.

###Running

Run node index or npm start.

If you use npm start arguments must be preceded by -- e.g. npm start -- -p 8000.

Run node index --help or node index -h for a list of command line arguments.

###Tests

To run tests, use npm test. At the moment it doesn't test very much though but it can be useful to see if a player is at least able to connect without you having to go and open a browser tab.

###Controls

WASD to move.

Mouse to aim and shoot.

E/Q to change weapons.

Enter to chat.

Type /commands in chat for a list of in-game commands.