A simple ES6 Webpack based reconstruction of the Space Invaders game as a base showcase application for ConfigCat Feature Flag testing with melonJS.
This is a companion app for the Space Invaders game with melonJS and Feature Flags ConfigCat blogpost.
Ensure you have Node.js installed, then install all the build dependencies in the folder where you cloned the repository :
$ [sudo] npm install
npm run dev
to start the dev server on watch mode atlocalhost:9000
.
src
└── data
| ├── img
└── js
| ├── renderables
| └── stage
├── index.js
├── index.css
├── index.html
├── manifest.js
src
- the root folder for your game source code
- The entry file is index.js.
- index.css and index.html are default templates that can be customized
- manifest.js is a list of asset to be preloaded by melonJS (these won't be automatically imported and bundled by webpack)
scr/js
- add your source classes here
scr/data
- where to add your game assets
ConfigCat also supports many other frameworks and languages. Check out the full list of supported SDKs here
You can also explore other code samples for various languages, frameworks, and topics here in the ConfigCat labs on GitHub.
Keep up with ConfigCat on Twitter, Facebook, LinkedIn, and GitHub.
Contributions are welcome!