Skip to content

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.

3.9 KB
Raw Blame
{
  "version": 4,
  "name": "Main",
  "entities": [
    {
      "id": 0,
      "name": "Camera",
      "parent": null,
      "children": [],
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": 519.615
            }
          }
        },
        {
          "type": "Camera",
          "data": {
            "projectionType": 0,
            "fov": 60,
            "nearPlane": 0.1,
            "farPlane": 1000,
            "isActive": true,
            "priority": 0
          }
        }
      ],
      "visible": true
    },
    {
      "id": 1,
      "name": "Gloss",
      "parent": null,
      "children": [],
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": 0
            }
          }
        },
        {
          "type": "Sprite",
          "data": {
            "size": {
              "x": 160,
              "y": 160
            },
            "color": {
              "r": 0,
              "g": 0.3,
              "b": 0,
              "a": 1
            },
            "material": "/scenes/mat-pbr/gloss.esmaterial"
          }
        }
      ],
      "visible": true
    },
    {
      "id": 2,
      "name": "Matte",
      "parent": null,
      "children": [],
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -180,
              "y": 0,
              "z": 0
            }
          }
        },
        {
          "type": "Sprite",
          "data": {
            "size": {
              "x": 160,
              "y": 160
            },
            "color": {
              "r": 0,
              "g": 0.3,
              "b": 0,
              "a": 1
            },
            "material": "/scenes/mat-pbr/matte.esmaterial"
          }
        }
      ],
      "visible": true
    },
    {
      "id": 3,
      "name": "ViewVector",
      "parent": null,
      "children": [],
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 180,
              "y": 0,
              "z": 0
            }
          }
        },
        {
          "type": "Sprite",
          "data": {
            "size": {
              "x": 160,
              "y": 160
            },
            "color": {
              "r": 1,
              "g": 1,
              "b": 1,
              "a": 1
            },
            "material": "/scenes/mat-pbr/viewvec.esmaterial"
          }
        }
      ],
      "visible": true
    },
    {
      "id": 4,
      "name": "GlossLight",
      "parent": null,
      "children": [],
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": 0
            }
          }
        },
        {
          "type": "Light",
          "data": {
            "type": 0,
            "color": {
              "r": 1,
              "g": 1,
              "b": 1,
              "a": 1
            },
            "intensity": 1,
            "radius": 150
          }
        }
      ],
      "visible": true
    },
    {
      "id": 5,
      "name": "MatteLight",
      "parent": null,
      "children": [],
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": -180,
              "y": 0,
              "z": 0
            }
          }
        },
        {
          "type": "Light",
          "data": {
            "type": 0,
            "color": {
              "r": 1,
              "g": 1,
              "b": 1,
              "a": 1
            },
            "intensity": 1,
            "radius": 150
          }
        }
      ],
      "visible": true
    }
  ]
}