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.

2.6 KB
Raw Blame
{
  "version": 4,
  "name": "SkinnedFade",
  "entities": [
    {
      "id": 0,
      "name": "Camera",
      "parent": null,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 60,
              "y": 20,
              "z": 10
            }
          }
        },
        {
          "type": "Camera",
          "data": {
            "projectionType": 1,
            "orthoSize": 100,
            "isActive": true,
            "priority": 0
          }
        }
      ]
    },
    {
      "id": 1,
      "name": "Rig",
      "parent": null,
      "children": [
        2,
        3,
        4
      ],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0.0,
              "y": 0.0,
              "z": 0.0
            }
          }
        },
        {
          "type": "Animator",
          "data": {
            "controller": "scenes/skinned-fade.esanimator",
            "currentState": "",
            "enabled": true
          }
        }
      ]
    },
    {
      "id": 2,
      "name": "Bone0",
      "parent": 1,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0.0,
              "y": 0.0,
              "z": 0.0
            }
          }
        }
      ]
    },
    {
      "id": 3,
      "name": "Bone1",
      "parent": 1,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 60,
              "y": 0,
              "z": 0
            }
          }
        }
      ]
    },
    {
      "id": 4,
      "name": "Body",
      "parent": 1,
      "children": [],
      "visible": true,
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0.0,
              "y": 0.0,
              "z": 0.0
            }
          }
        },
        {
          "type": "MeshRenderer",
          "data": {
            "mesh": "scenes/skinned-fade.esmesh",
            "color": {
              "r": 0,
              "g": 1,
              "b": 0,
              "a": 1
            },
            "enabled": true
          }
        },
        {
          "type": "MeshSkin",
          "data": {
            "joints": [
              2,
              3
            ]
          }
        }
      ]
    }
  ]
}