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": 320,
"isActive": true,
"priority": 0
}
}
]
},
{
"id": 1,
"name": "Game",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 0
}
}
},
{
"type": "GameState",
"data": {
"alive": true,
"score": 0
}
}
]
},
{
"id": 2,
"name": "Player",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": -250,
"z": 0
}
}
},
{
"type": "Sprite",
"data": {
"size": {
"x": 76,
"y": 24
},
"color": {
"r": 0.42,
"g": 0.72,
"b": 0.62,
"a": 1
}
}
},
{
"type": "ScriptGraphAgent",
"data": {
"graph": "assets/logic/player.esgraph"
}
}
]
},
{
"id": 6,
"name": "ScoreText",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -360,
"y": 280,
"z": 0
}
}
},
{
"type": "Text",
"data": {
"content": "SCORE 0",
"fontSize": 30,
"color": {
"r": 0.92,
"g": 0.92,
"b": 0.88,
"a": 1
}
}
},
{
"type": "ScriptGraphAgent",
"data": {
"graph": "assets/logic/hud.esgraph"
}
}
]
},
{
"id": 7,
"name": "Spawner",
"parent": null,
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 0,
"y": 0,
"z": 0
}
}
},
{
"type": "ScriptGraphAgent",
"data": {
"graph": "assets/logic/spawner.esgraph"
}
}
]
}
]
}