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": "CameraTarget",
"entities": [
{
"id": 0,
"name": "OffscreenCamera",
"parent": null,
"children": [],
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 10
}
}
},
{
"type": "Camera",
"data": {
"projectionType": 1,
"orthoSize": 100,
"isActive": true,
"priority": 0,
"clearFlags": 3,
"cullingMask": 2
}
}
],
"visible": true
},
{
"id": 1,
"name": "RedFill",
"parent": null,
"children": [],
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 0
}
}
},
{
"type": "Sprite",
"data": {
"size": {
"x": 400,
"y": 400
},
"color": {
"r": 1,
"g": 0,
"b": 0,
"a": 1
},
"layer": 1
}
}
],
"visible": true
},
{
"id": 2,
"name": "ScreenCamera",
"parent": null,
"children": [],
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 10
}
}
},
{
"type": "Camera",
"data": {
"projectionType": 1,
"orthoSize": 300,
"isActive": true,
"priority": 1,
"clearFlags": 3,
"cullingMask": 1
}
}
],
"visible": true
},
{
"id": 3,
"name": "Screen",
"parent": null,
"children": [],
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 0
}
}
},
{
"type": "Sprite",
"data": {
"size": {
"x": 300,
"y": 300
},
"color": {
"r": 1,
"g": 1,
"b": 1,
"a": 1
},
"layer": 0
}
}
],
"visible": true
}
]
}