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.1 KB
Raw Blame
{
  "version": 4,
  "name": "Trail",
  "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": "Trailer",
      "parent": null,
      "children": [],
      "components": [
        { "type": "Transform", "data": { "position": { "x": -200, "y": 0, "z": 0 } } },
        {
          "type": "TrailRenderer",
          "data": {
            "time": 1.0,
            "minVertexDistance": 5,
            "emitting": true,
            "startWidth": 50,
            "endWidth": 50,
            "startColor": { "r": 0, "g": 1, "b": 0, "a": 1 },
            "endColor": { "r": 0, "g": 1, "b": 0, "a": 1 },
            "blendMode": 0,
            "layer": 0,
            "material": 0,
            "enabled": true
          }
        }
      ],
      "visible": true
    }
  ]
}