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": "2",
"name": "model-material",
"rootEntityId": "root",
"entities": [
{
"prefabEntityId": "root",
"name": "model-material",
"parent": null,
"children": [
"n0",
"n1",
"n2"
],
"visible": true,
"components": [
{
"type": "Transform",
"data": {}
}
]
},
{
"prefabEntityId": "n0",
"name": "Glow",
"parent": "root",
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": -220,
"y": 0,
"z": 0
}
}
},
{
"type": "MeshRenderer",
"data": {
"mesh": "scenes/model-material_0_0.esmesh",
"lit": true,
"material": "scenes/model-material_m0.esmaterial",
"color": {
"r": 0,
"g": 0,
"b": 0,
"a": 1
},
"opaque": true,
"cullBackfaces": true,
"enabled": true
}
}
]
},
{
"prefabEntityId": "n1",
"name": "Shaded",
"parent": "root",
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {}
},
{
"type": "MeshRenderer",
"data": {
"mesh": "scenes/model-material_1_0.esmesh",
"lit": true,
"material": "scenes/model-material_m1.esmaterial",
"color": {
"r": 1,
"g": 1,
"b": 1,
"a": 1
},
"opaque": true,
"cullBackfaces": true,
"enabled": true
}
}
]
},
{
"prefabEntityId": "n2",
"name": "Cutout",
"parent": "root",
"children": [],
"visible": true,
"components": [
{
"type": "Transform",
"data": {
"position": {
"x": 220,
"y": 0,
"z": 0
}
}
},
{
"type": "MeshRenderer",
"data": {
"mesh": "scenes/model-material_2_0.esmesh",
"lit": true,
"material": "scenes/model-material_m2.esmaterial",
"color": {
"r": 1,
"g": 0,
"b": 0,
"a": 0.3
},
"opaque": true,
"cullBackfaces": true,
"enabled": true
}
}
]
}
]
}