Files
GDevelop/GDJS
Florian Rival aa7a4a4ff3 Rename onOwnerRemovedFromScene to onDestroy and fix onCreated/onDestroy calls
* Rename onOwnerRemovedFromScene to onDestroy (because it can be now called when a scene is destroyed)
* Fix it being not called when a scene is destroyed (so behavior don't get a chance to clean up what they have created)
* Fix onCreated being called before the object is fully initialized (for custom behaviors or behaviors relying on an object type)
2019-07-28 17:43:50 +01:00
..

GDevelop JavaScript Platform (HTML5 game engine)

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.

1) Installation 💻

To do changes in the game engine or create extensions, install the development version (click here to learn more).

2) Development 🤓

GDJS is composed of two parts:

  • the JavaScript game engine (Runtime folder), called GDJS Runtime.
  • the C++ part exposing GDJS to GDevelop IDE (GDJS folder), including the Exporter and classes doing transpilation from events to JavaScript, called GDJS Platform.

GDJS Runtime (game engine)

The game engine is in the Runtime folder. If you want to work on the engine directly, follow the GDevelop 5 README about 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.

GDJS Platform (exporters, code generation...)

Check the GDJS Platform documentation, or the full GDevelop developers documentation.

3) How to contribute 😎

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.

License

GDJS is distributed under the MIT license: see license.txt for more information.