andersevenrud / cncjs

A JavaScript recreation of the classic RTS Command & Conquer by Westwood Studios
Other
15 stars 2 forks source link

cncjs

A javascript (typescript) remake of the classic Real-time strategy game "Command & Conquer".

Written on a custom engine using canvas 2d renderer.

Screenshot

Demo

Coming soon. Meanwhile you can look at a video preview.

Requirements

You need a copy of the orignal game (Gold edition) v1.06c or a later.

Should run on any modern browser or device that supports ES6.

Installation

The required utilities for converting game assets is currently not included. You can ask me for a zip file of everything you need

Place all original game files in original/.

npm install
npm run build
npm run convert
npm run deploy

In-game controls

Standard game controls, with the additional:

Development

When in development mode:

You can also pass scene=<string> to the URL to select a scene:

Set debug=false to disable debug overlay and zoom=<number> for a initial zoom level.

Shoutout

Without http://nyerguds.arsaneus-design.com/cnc95upd/inirules/ this would not be possible.

License

This codebase is MIT Licenses.