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.

1.5 KB
Raw Blame
{
 "version": 4,
 "name": "CameraTilt",
 "entities": [
  {
   "id": 0,
   "name": "Camera",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 0,
       "z": 300
      },
      "rotation": {
       "x": -0.17364817766693033,
       "y": 0,
       "z": 0,
       "w": 0.984807753012208
      }
     }
    },
    {
     "type": "Camera",
     "data": {
      "projectionType": 1,
      "orthoSize": 300,
      "isActive": true,
      "priority": 0,
      "farPlane": 2000
     }
    }
   ]
  },
  {
   "id": 1,
   "name": "Near",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 0,
       "z": 0
      }
     }
    },
    {
     "type": "Sprite",
     "data": {
      "size": {
       "x": 80,
       "y": 80
      },
      "color": {
       "r": 1,
       "g": 0,
       "b": 0,
       "a": 1
      }
     }
    }
   ]
  },
  {
   "id": 2,
   "name": "Far",
   "parent": null,
   "children": [],
   "visible": true,
   "components": [
    {
     "type": "Transform",
     "data": {
      "position": {
       "x": 0,
       "y": 0,
       "z": -300
      }
     }
    },
    {
     "type": "Sprite",
     "data": {
      "size": {
       "x": 80,
       "y": 80
      },
      "color": {
       "r": 0,
       "g": 1,
       "b": 0,
       "a": 1
      }
     }
    }
   ]
  }
 ]
}