A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
{
"$schema": "Declares which files to bundle into the editor toolchain for WASM compilation.",
"engine": {
"root_files": ["CMakeLists.txt"],
"directories": [
"cmake",
"tools",
"src/esengine"
]
},
"third_party": {
"root_files": ["CMakeLists.txt"],
"full": [
"stb",
"nlohmann",
"cute_tiled",
"yoga"
],
"partial": {
"glm": ["glm"],
"spine-runtimes-2.1": ["spine-c/src", "spine-c/include"],
"spine-runtimes-3.8": ["spine-c/spine-c/src", "spine-c/spine-c/include"],
"spine-runtimes-4.1": ["spine-c/spine-c/src", "spine-c/spine-c/include"],
"spine-runtimes-4.2": [
"spine-cpp/spine-cpp/src", "spine-cpp/spine-cpp/include",
"spine-c/spine-c/src", "spine-c/spine-c/include"
],
"spine-runtimes-4.3": ["spine-cpp/src", "spine-cpp/include"]
}
},
"native": {
"$comment": [
"The projects the native host links that are too large to vendor. PINNED, not",
"tracked: `--depth 1` of a moving branch makes a runtime template unreproducible, and",
"webgpu.h is a moving target. Not submodules either — Dawn fetches its own dependencies",
"with a script rather than submodules, so tracking it that way saves nobody the fetch",
"while putting a multi-GB clone in front of everyone who only builds for the web.",
"`node build-tools/cli.js native --fetch-deps` checks both out at these commits."
],
"dawn": {
"repo": "https://dawn.googlesource.com/dawn",
"commit": "296a00d20c4324d0a0363096ab23da4bf4f26d35"
},
"quickjs": {
"repo": "https://github.com/quickjs-ng/quickjs",
"commit": "3d3cf3d86b66551403745a5b06acbed2b0f31dfd"
},
"sdl": {
"$comment": [
"The desktop window, event loop, gamepads and IME (release-3.4.14). Desktop only:",
"iOS and Android already have an OS event loop the host drives, and adding a second",
"one there would be a rewrite of two working platforms to no end.",
"Pinned to the tag's COMMIT, like the other two — a tag is a moving ref, and a",
"runtime template other people install has to rebuild to the same bytes."
],
"repo": "https://github.com/libsdl-org/SDL",
"commit": "147a8ee32dbf9ac02f3794964490687b6bbda1bc"
},
"v8": {
"$comment": [
"The JIT the desktop and Android hosts run the SDK and the game on (iOS allows no",
"JIT and keeps QuickJS). Prebuilt, because V8 builds only with Chromium's own",
"toolchain and Android's only on Linux. ONE V8 version on both, so the embedding",
"code (native/host/js/esjs_v8.cpp) is written once. Neither build enables V8's",
"sandbox, which is what lets the host hand JS zero-copy views of engine memory.",
"Archives are pinned by sha256: a template other people install has to rebuild",
"from the same bytes."
],
"version": "10.0.139.9",
"windows": [
{
"url": "https://api.nuget.org/v3-flatcontainer/v8-v143-x64/10.0.139.9/v8-v143-x64.10.0.139.9.nupkg",
"sha256": "4f72f76f6ab235d865732dab48e7b1c7b1640783a2ff9cfbcb1781435fd52e49"
},
{
"url": "https://api.nuget.org/v3-flatcontainer/v8.redist-v143-x64/10.0.139.9/v8.redist-v143-x64.10.0.139.9.nupkg",
"sha256": "342ea8d47039e56fbad2a52b4425f5e39f37fdb9ba1fe4e7251b899d8479507a"
}
],
"android": {
"$comment": [
"v8-android-jit 11.1000.4 is V8 10.0.139.9 built for the NDK's libc++ (react-native's",
"prebuilt), WITH Intl: the nointl build has no Unicode property escapes in regular",
"expressions, so a game script that a browser and QuickJS both run failed to parse."
],
"url": "https://registry.npmjs.org/v8-android-jit/-/v8-android-jit-11.1000.4.tgz",
"sha256": "9948d0ea2600b762254a49281bbd73df81840cc17afc3e30c00df136e0467d50"
}
}
},
"cmake": {
"version": "3.31.7",
"platforms": {
"darwin": {
"filename": "cmake-${version}-macos-universal.tar.gz",
"strip_prefix": "cmake-${version}-macos-universal/CMake.app/Contents"
},
"win32": {
"filename": "cmake-${version}-windows-x86_64.zip",
"strip_prefix": "cmake-${version}-windows-x86_64"
},
"linux-x64": {
"filename": "cmake-${version}-linux-x86_64.tar.gz",
"strip_prefix": "cmake-${version}-linux-x86_64"
},
"linux-arm64": {
"filename": "cmake-${version}-linux-aarch64.tar.gz",
"strip_prefix": "cmake-${version}-linux-aarch64"
}
}
}
}