If this is your first game project, make sure your dev environment is properly set.
Install all the dependencies by running:
npm install
Start the game server by running:
npm run serve
Finally go to https://localhost:8020/webpack-dev-server/ in order to start the game. If prompted, you will have to disable the browser security for that page by clicking Advanced
then PROCEED TO LOCALHOST(UNSAFE)
Entry point is the file src/Application.js
.
Please feel free to rewrite the existing code as it is here only to provide you with a starting point.
Note: We are in the process of improving the application initialization, which should make the application file simpler in the future.
The frontend
folder contains the game engine and the build system.
If you do not need them, you can ignore the env
and src/stormcloud
folders along with the fbapp-config.json
file. But they need to exist to satisfy the build system.
If not specifically assigned tasks relative to the metadata.json
files, please ignore them.
A sound API is provided in src/lib/sounds.js
. Sound config files can be found in src/conf/soundConfig.js