Finish the game under 10 seconds.
To build, be sure you have node installed. Clone the project:
git clone https://github.com/SalonDesDevs/javaskript
Then in the cloned directory, simply run:
npm install
You must also have grunt-cli
installed globally:
npm install -g grunt-cli
Running the game:
grunt serve
And you will have the project running on http://localhost:8000
To build:
grunt
This will create a build
directory containing the files that can be uploaded to a server, or packaged into a mobile app.
Building a standalone desktop release:
grunt dist
Running the desktop release on Windows:
.\bin\electron.exe
Running the desktop release on macOS:
open ./bin/Electron.app
Running the desktop release on Linux:
./bin/electron
Note that you may have to edit the file Gruntfile.js
if you need to better dictate the order your files load in. Note how by default the game.js and resources.js are specified in a specific order.
Copyright (C) 2011 - 2020 Olivier Biot melonJS is licensed under the MIT License