Skip to content

Last Colony, is an RTS game with both a single player campaign mode as well as a multiplayer mode, created entirely in HTML5 and JavaScript.

Notifications You must be signed in to change notification settings

adityaravishankar/last-colony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Last Colony

Last Colony is an RTS game with both a single player campaign mode as well as a multiplayer mode, created entirely in HTML5 and JavaScript.

Try the Last Colony Demo

The single player campaign includes an economy with buildings, vehicles, aircraft along with an over arching storyline told using scripted events.

The two player multiplayer uses Node.js with the WebSocket API to allow real time gameplay.

Multiplayer Server Setup

  1. Install Node and npm
  2. Install WebSocket-Node using command: npm install websocket
  3. Start server inside js folder using command: node js/server.js

Pro HTML5 Games

If you are interested in learning how to recreate this game entirely from scratch, you can find a detailed walk through in the book Pro HTML5 Games.

In the process of creating this game, we look at adding intelligent unit movement using pathfinding and steering, and combat using a combination of scripted events, and finite state machines.

We then look at adding multiplayer, covering everything from the basics of WebSocket and Node.JS, to details such as compensating for network latency while keeping the player games synchronized.

Credits

Artwork

  1. "Hard Vaccum" Artwork and Game Sprites by Daniel Cook
  2. Artwork from Open Game Art

Sounds

All sounds from Free Sound

About

Last Colony, is an RTS game with both a single player campaign mode as well as a multiplayer mode, created entirely in HTML5 and JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published