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": [],
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 10
}
}
},
{
"type": "Camera",
"data": {
"projectionType": 1,
"orthoSize": 300,
"isActive": true,
"priority": 0
}
}
],
"visible": true
},
{
"id": 1,
"name": "Sprite0",
"parent": null,
"children": [],
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -200,
"y": 0,
"z": 0
}
}
},
{
"type": "Sprite",
"data": {
"size": {
"x": 60,
"y": 60
},
"color": {
"r": 0.92,
"g": 0.28,
"b": 0.28,
"a": 1
},
"texture": "@uuid:37286c86-bd8d-4522-b7c4-11df50f49427"
}
},
{
"type": "Rotator",
"data": {}
}
],
"visible": true
},
{
"id": 2,
"name": "Sprite1",
"parent": null,
"children": [],
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -100,
"y": 0,
"z": 0
}
}
},
{
"type": "Sprite",
"data": {
"size": {
"x": 60,
"y": 60
},
"color": {
"r": 0.79,
"g": 0.92,
"b": 0.28,
"a": 1
},
"texture": "@uuid:37286c86-bd8d-4522-b7c4-11df50f49427"
}
},
{
"type": "Rotator",
"data": {
"speed": 135,
"bobSpeed": 2.3,
"bobAmount": 40
}
}
],
"visible": true
},
{
"id": 3,
"name": "Sprite2",
"parent": null,
"children": [],
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 0
}
}
},
{
"type": "Sprite",
"data": {
"size": {
"x": 60,
"y": 60
},
"color": {
"r": 0.28,
"g": 0.92,
"b": 0.54,
"a": 1
},
"texture": "@uuid:37286c86-bd8d-4522-b7c4-11df50f49427"
}
},
{
"type": "Rotator",
"data": {
"speed": 180,
"bobSpeed": 2.6,
"bobAmount": 50
}
}
],
"visible": true
},
{
"id": 4,
"name": "Sprite3",
"parent": null,
"children": [],
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 100,
"y": 0,
"z": 0
}
}
},
{
"type": "Sprite",
"data": {
"size": {
"x": 60,
"y": 60
},
"color": {
"r": 0.28,
"g": 0.54,
"b": 0.92,
"a": 1
},
"texture": "@uuid:37286c86-bd8d-4522-b7c4-11df50f49427"
}
},
{
"type": "Rotator",
"data": {
"speed": 225,
"bobSpeed": 2.9,
"bobAmount": 60
}
}
],
"visible": true
},
{
"id": 5,
"name": "Sprite4",
"parent": null,
"children": [],
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 200,
"y": 0,
"z": 0
}
}
},
{
"type": "Sprite",
"data": {
"size": {
"x": 60,
"y": 60
},
"color": {
"r": 0.79,
"g": 0.28,
"b": 0.92,
"a": 1
},
"texture": "@uuid:37286c86-bd8d-4522-b7c4-11df50f49427"
}
},
{
"type": "Rotator",
"data": {
"speed": 270,
"bobSpeed": 3.2,
"bobAmount": 70
}
}
],
"visible": true
},
{
"id": 6,
"name": "Canvas",
"parent": null,
"children": [
7,
8
],
"components": [
{
"type": "Transform",
"data": {}
},
{
"type": "Canvas",
"data": {
"designResolution": {
"x": 800,
"y": 600
},
"scaleMode": 2
}
},
{
"type": "UINode",
"data": {}
}
],
"visible": true
},
{
"id": 7,
"name": "ButtonRow",
"parent": 6,
"children": [],
"components": [
{
"type": "Transform",
"data": {}
},
{
"type": "UINode",
"data": {
"position": 1,
"insetLeft": {
"value": 20,
"unit": 0
},
"insetRight": {
"value": 20,
"unit": 0
},
"insetBottom": {
"value": 20,
"unit": 0
},
"height": {
"value": 44,
"unit": 0
}
}
},
{
"type": "FlexContainer",
"data": {
"direction": 0,
"justifyContent": 1,
"alignItems": 1,
"gap": {
"x": 12,
"y": 0
}
}
}
],
"visible": true
},
{
"id": 8,
"name": "Status",
"parent": 6,
"children": [],
"components": [
{
"type": "Transform",
"data": {}
},
{
"type": "UINode",
"data": {
"position": 1,
"insetLeft": {
"value": 20,
"unit": 0
},
"insetRight": {
"value": 20,
"unit": 0
},
"insetTop": {
"value": 20,
"unit": 0
},
"height": {
"value": 28,
"unit": 0
}
}
},
{
"type": "Text",
"data": {
"content": "",
"fontSize": 18,
"color": {
"r": 1,
"g": 1,
"b": 1,
"a": 1
},
"align": 1,
"verticalAlign": 1
}
}
],
"visible": true
}
]
}