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.0 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": 10 }
          }
        },
        {
          "type": "Camera",
          "data": {
            "projectionType": 1,
            "orthoSize": 300,
            "isActive": true,
            "priority": 0
          }
        }
      ],
      "visible": true
    },
    {
      "id": 1,
      "name": "Sprite0",
      "parent": null,
      "children": [],
      "components": [
        { "type": "Transform", "data": { "position": { "x": -200, "y": 0, "z": 0 } } },
        { "type": "Sprite", "data": { "size": { "x": 60, "y": 60 }, "color": { "r": 0.92, "g": 0.28, "b": 0.28, "a": 1 }, "texture": "@uuid:de747ef6-544b-4fde-8e83-a533f91eeaa5" } },
        { "type": "Rotator", "data": {} }
      ],
      "visible": true
    },
    {
      "id": 2,
      "name": "Sprite1",
      "parent": null,
      "children": [],
      "components": [
        { "type": "Transform", "data": { "position": { "x": -100, "y": 0, "z": 0 } } },
        { "type": "Sprite", "data": { "size": { "x": 60, "y": 60 }, "color": { "r": 0.79, "g": 0.92, "b": 0.28, "a": 1 }, "texture": "@uuid:de747ef6-544b-4fde-8e83-a533f91eeaa5" } },
        { "type": "Rotator", "data": { "speed": 135, "bobSpeed": 2.3, "bobAmount": 40 } }
      ],
      "visible": true
    },
    {
      "id": 3,
      "name": "Sprite2",
      "parent": null,
      "children": [],
      "components": [
        { "type": "Transform", "data": { "position": { "x": 0, "y": 0, "z": 0 } } },
        { "type": "Sprite", "data": { "size": { "x": 60, "y": 60 }, "color": { "r": 0.28, "g": 0.92, "b": 0.54, "a": 1 }, "texture": "@uuid:de747ef6-544b-4fde-8e83-a533f91eeaa5" } },
        { "type": "Rotator", "data": { "speed": 180, "bobSpeed": 2.6, "bobAmount": 50 } }
      ],
      "visible": true
    },
    {
      "id": 4,
      "name": "Sprite3",
      "parent": null,
      "children": [],
      "components": [
        { "type": "Transform", "data": { "position": { "x": 100, "y": 0, "z": 0 } } },
        { "type": "Sprite", "data": { "size": { "x": 60, "y": 60 }, "color": { "r": 0.28, "g": 0.54, "b": 0.92, "a": 1 }, "texture": "@uuid:de747ef6-544b-4fde-8e83-a533f91eeaa5" } },
        { "type": "Rotator", "data": { "speed": 225, "bobSpeed": 2.9, "bobAmount": 60 } }
      ],
      "visible": true
    },
    {
      "id": 5,
      "name": "Sprite4",
      "parent": null,
      "children": [],
      "components": [
        { "type": "Transform", "data": { "position": { "x": 200, "y": 0, "z": 0 } } },
        { "type": "Sprite", "data": { "size": { "x": 60, "y": 60 }, "color": { "r": 0.79, "g": 0.28, "b": 0.92, "a": 1 }, "texture": "@uuid:de747ef6-544b-4fde-8e83-a533f91eeaa5" } },
        { "type": "Rotator", "data": { "speed": 270, "bobSpeed": 3.2, "bobAmount": 70 } }
      ],
      "visible": true
    }
  ]
}