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": "TextOverflow — Visible beside Clip",
"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": "Canvas",
"parent": null,
"children": [2, 3],
"components": [
{ "type": "Transform", "data": {} },
{ "type": "Canvas", "data": { "designResolution": { "x": 800, "y": 600 }, "scaleMode": 2 } },
{ "type": "UINode", "data": {} }
],
"visible": true
},
{
"id": 2,
"name": "Spills",
"parent": 1,
"children": [],
"components": [
{ "type": "Transform", "data": {} },
{
"type": "UINode",
"data": {
"position": 1,
"width": { "value": 300.0, "unit": 0 },
"height": { "value": 100.0, "unit": 0 },
"insetLeft": { "value": 30.0, "unit": 0 },
"insetTop": { "value": 60.0, "unit": 0 }
}
},
{
"type": "Text",
"data": {
"content": "HHH\nHHH\nHHH",
"fontFamily": "sans-serif",
"fontSize": 90,
"color": { "r": 1, "g": 1, "b": 1, "a": 1 },
"align": 0,
"verticalAlign": 0,
"wordWrap": false,
"overflow": 0
}
}
],
"visible": true
},
{
"id": 3,
"name": "Clipped",
"parent": 1,
"children": [],
"components": [
{ "type": "Transform", "data": {} },
{
"type": "UINode",
"data": {
"position": 1,
"width": { "value": 300.0, "unit": 0 },
"height": { "value": 100.0, "unit": 0 },
"insetLeft": { "value": 430.0, "unit": 0 },
"insetTop": { "value": 60.0, "unit": 0 }
}
},
{
"type": "Text",
"data": {
"content": "HHH\nHHH\nHHH",
"fontFamily": "sans-serif",
"fontSize": 90,
"color": { "r": 1, "g": 1, "b": 1, "a": 1 },
"align": 0,
"verticalAlign": 0,
"wordWrap": false,
"overflow": 1
}
}
],
"visible": true
}
]
}