GDJS/README.md
GDevelop JavaScript Platform (GDJS) is the game engine for making HTML5/Javascript based games with GDevelop.
📚 Game developer, searching for the documentation? Go to the GDJS Runtime (game engine) documentation.
To do changes in the game engine or create extensions, install the development version (click here to learn more).
GDJS is composed of two parts:
The game engine is in the Runtime folder. If you want to work on the engine directly, follow the GDevelop 5 README about the development of the game engine.
To use the game engine, you can look into the GDJS Runtime (game engine) documentation.
To run tests for the game engine, go to GDJS/tests, run npm install and npm test. More information in the README for the tests.
To launch type checking with TypeScript, run npm install and npm run check-types in GDJS folder.
To build the GDJS Runtime, run npm run build in the GDJS folder.
Build Options:
npm run build - builds with minification enablednpm run build -- --debug - builds without minification for easier debuggingnpm run build -- --out=/path/to/output - specify custom output directoryExamples:
# Standard production build
npm run build
# Debug build for development (no minification)
npm run build -- --debug
# Debug build with custom output path
npm run build -- --debug --out=./debug-build
Check the GDJS Platform documentation or the full GDevelop developers documentation.
Any contribution is welcome! Whether you want to submit a bug report, a feature request or any pull request to add a feature, do not hesitate to get in touch.
Follow the Development section of the README to set up GDevelop and start modifying either the editor or the game engine/extensions.
To submit your changes, you have first to create a Fork on GitHub (use the Fork button on the top right), then create a Pull Request.
GDJS is distributed under the MIT license: see LICENSE.md for more information.