Cheap Ship is a small shoot 'em up game (fixed scroller) you can host in your server.
Copy this folder in your web directory, and serve it with your web server.
You can't play it locally because it uses fetch
function to serve json files, which is blocked by the same-origin policy
One day
Configuration file is in resources/config.js
, it can be changed to suite one needs. Every options are documented.
Color-scheme can be changed. One can add a custom one by adding a <colorsheme-name>.json
in color-schemes
directory. Color schemes are not well documented yet, one can check existing file to create a new one.
Available language can be changed. One can add a custom one by adding a <lang-code>.json
in locale
directory. Locale are not well documented yet, one can check existing file to create a new one. To use this new locale, do not forget to add the <lang-code> in the list CONFIG['lang_available']
AND to define CONFIG.['user']['lang']
to <lang-code>.
Layout can be changed anytime, default are:
- p to pause the game
- p to unpause the game
- arrows key to move
- space to shoot
see documentation to know what to type
For now, there is no difference between an user configuration and a server one. That means that every player will get the same settings, including color-scheme and locale. This is not a good system, and it should be upgraded.
New level can be created by adding a <level-name>.json
in level
directory. Not documented yet, one can check existing level to create a new one. After adding a file, one have to put it in the list CONFIG['game']['level']
in resources/config.js
.
- gugus2000 - initial work
We use SemVer for versioning.
This project is licensed under the Chocolate-Ware License - see the LICENSE file for details