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
{
"version": 4,
"name": "MeshDepthThroughCapture",
"entities": [
{
"id": 0,
"name": "Camera",
"parent": null,
"children": [],
"visible": true,
"components": [
{ "type": "Transform", "data": { "position": { "x": 0, "y": 0, "z": 300 } } },
{ "type": "Camera", "data": { "projectionType": 1, "orthoSize": 150, "isActive": true, "priority": 0 } }
]
},
{
"id": 1,
"name": "Near",
"parent": null,
"children": [],
"visible": true,
"components": [
{ "type": "Transform", "data": { "position": { "x": 0, "y": 0, "z": 60 } } },
{
"type": "MeshRenderer",
"data": {
"mesh": "builtin:cube",
"color": { "r": 1, "g": 0, "b": 0, "a": 1 },
"lit": false,
"opaque": true,
"cullBackfaces": true,
"enabled": true
}
}
]
},
{
"id": 2,
"name": "Far",
"parent": null,
"children": [],
"visible": true,
"components": [
{ "type": "Transform", "data": { "position": { "x": 40, "y": 0, "z": -60 } } },
{
"type": "MeshRenderer",
"data": {
"mesh": "builtin:cube",
"color": { "r": 0, "g": 1, "b": 0, "a": 1 },
"lit": false,
"opaque": true,
"cullBackfaces": true,
"enabled": true
}
}
]
}
]
}