Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Library:GDevelop

From ReverseEngineering.wiki
Library
On this wiki Facts · Code · Notes · Topics

GDevelop (MIT) exports games as HTML5: index.html plus code0.js.., data.js with gdjs.projectData and gdjs.runtimeGameOptions, and the GDJS runtime (gd.js, libs/).

GDevelop is an open-source no-code game engine (4ian/GDevelop); its runtime is GDJS (GDJS/Runtime, TypeScript).

Web export layout

From GDJS/GDJS/IDE/ExporterHelper.cpp and GDJS/Runtime/index.html:

  • index.html is the Runtime template with the script list substituted for the marker GDJS_CODE_FILES (other markers: GDJS_CUSTOM_STYLE, GDJS_CUSTOM_HTML). It also links manifest.webmanifest.
  • data.js (in the code output directory) is written as gdjs.projectData = <project JSON>; gdjs.runtimeGameOptions = <options JSON>; : the whole game (scenes, objects, events converted to JSON, resources) is readable JSON.
  • Events compile to code0.js, code1.js, ... (one per scene or extension).
  • Core includes: gd.js, libs/jshashtable.js, libs/rbush.js, libs/nanomarkdown.js (when used). Search a page for gdjs.projectData to identify a GDevelop game. Mobile/desktop packages wrap the same files (Cordova www/, Electron or Library:NW.js style shells - unverified).

See Technique:Identifying HTML5 game engines.

Code & repositories

  • https://github.com/4ian/GDevelop @ 1de9199bb0bc0c9db3cc51fc3155db8955a25e10 · license: MIT (declared by the contributor; GitHub's detector did not recognize LICENSE.md)
    GDevelop (MIT): GDJS/GDJS/IDE/ExporterHelper.cpp web export, GDJS/Runtime/index.html template.
    Tested on: source read, not run: source read, not run · checked 2026-10-18