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": "Main",
"entities": [
{
"id": 0,
"name": "Camera",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 10
}
}
},
{
"type": "Camera",
"data": {
"projectionType": 1,
"orthoSize": 500,
"isActive": true,
"priority": 0
}
}
]
},
{
"id": 1,
"name": "Floor",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 0
}
}
},
{
"type": "Sprite",
"data": {
"size": {
"x": 200,
"y": 1000
},
"color": {
"r": 1,
"g": 1,
"b": 1,
"a": 1
},
"material": "/scenes/mat-lit/lit.esmaterial"
}
}
]
},
{
"id": 2,
"name": "Wall-400",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": -400,
"z": 0
}
}
},
{
"type": "ShadowCaster2D",
"data": {
"size": {
"x": 16,
"y": 120
},
"enabled": true
}
}
]
},
{
"id": 3,
"name": "Wall-200",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": -200,
"z": 0
}
}
},
{
"type": "ShadowCaster2D",
"data": {
"size": {
"x": 16,
"y": 120
},
"enabled": true
}
}
]
},
{
"id": 4,
"name": "Wall200",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 200,
"z": 0
}
}
},
{
"type": "ShadowCaster2D",
"data": {
"size": {
"x": 16,
"y": 120
},
"enabled": true
}
}
]
},
{
"id": 5,
"name": "Wall400",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 400,
"z": 0
}
}
},
{
"type": "ShadowCaster2D",
"data": {
"size": {
"x": 16,
"y": 120
},
"enabled": true
}
}
]
},
{
"id": 6,
"name": "Wall0",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 0
}
}
},
{
"type": "ShadowCaster2D",
"data": {
"size": {
"x": 16,
"y": 120
},
"enabled": true
}
}
]
},
{
"id": 7,
"name": "Light-400",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -60,
"y": -400,
"z": 0
}
}
},
{
"type": "Light",
"data": {
"type": 0,
"color": {
"r": 0,
"g": 1,
"b": 0,
"a": 1
},
"intensity": 1,
"radius": 150,
"shadowSoftness": 0
}
}
]
},
{
"id": 8,
"name": "Light-200",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -60,
"y": -200,
"z": 0
}
}
},
{
"type": "Light",
"data": {
"type": 0,
"color": {
"r": 0,
"g": 1,
"b": 0,
"a": 1
},
"intensity": 1,
"radius": 150,
"shadowSoftness": 0
}
}
]
},
{
"id": 9,
"name": "Light200",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -60,
"y": 200,
"z": 0
}
}
},
{
"type": "Light",
"data": {
"type": 0,
"color": {
"r": 0,
"g": 1,
"b": 0,
"a": 1
},
"intensity": 1,
"radius": 150,
"shadowSoftness": 0
}
}
]
},
{
"id": 10,
"name": "Light400",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -60,
"y": 400,
"z": 0
}
}
},
{
"type": "Light",
"data": {
"type": 0,
"color": {
"r": 0,
"g": 1,
"b": 0,
"a": 1
},
"intensity": 1,
"radius": 150,
"shadowSoftness": 0
}
}
]
},
{
"id": 11,
"name": "Light0-a",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -60,
"y": 0,
"z": 0
}
}
},
{
"type": "Light",
"data": {
"type": 0,
"color": {
"r": 0,
"g": 1,
"b": 0,
"a": 1
},
"intensity": 1,
"radius": 150,
"shadowSoftness": 0
}
}
]
},
{
"id": 12,
"name": "Light0-b",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -60,
"y": 0,
"z": 0
}
}
},
{
"type": "Light",
"data": {
"type": 0,
"color": {
"r": 0,
"g": 1,
"b": 0,
"a": 1
},
"intensity": 1,
"radius": 150,
"shadowSoftness": 0
}
}
]
},
{
"id": 13,
"name": "Light0-c",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -60,
"y": 0,
"z": 0
}
}
},
{
"type": "Light",
"data": {
"type": 0,
"color": {
"r": 0,
"g": 1,
"b": 0,
"a": 1
},
"intensity": 1,
"radius": 150,
"shadowSoftness": 0
}
}
]
},
{
"id": 14,
"name": "Light0-d",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -60,
"y": 0,
"z": 0
}
}
},
{
"type": "Light",
"data": {
"type": 0,
"color": {
"r": 0,
"g": 1,
"b": 0,
"a": 1
},
"intensity": 1,
"radius": 150,
"shadowSoftness": 0
}
}
]
},
{
"id": 15,
"name": "Light0-e",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -60,
"y": 0,
"z": 0
}
}
},
{
"type": "Light",
"data": {
"type": 0,
"color": {
"r": 0,
"g": 1,
"b": 0,
"a": 1
},
"intensity": 1,
"radius": 150,
"shadowSoftness": 0
}
}
]
},
{
"id": 16,
"name": "Light0",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -60,
"y": 0,
"z": 0
}
}
},
{
"type": "Light",
"data": {
"type": 0,
"color": {
"r": 0,
"g": 1,
"b": 0,
"a": 1
},
"intensity": 1,
"radius": 150,
"shadowSoftness": 0
}
}
]
}
]
}