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": "ParticleBillboard",
  "entities": [
    {
      "id": 0,
      "name": "Camera",
      "parent": null,
      "children": [],
      "components": [
        { "type": "Transform", "data": {
          "position": { "x": 300, "y": 0, "z": 0 },
          "rotation": { "x": 0, "y": 0.7071068, "z": 0, "w": 0.7071068 }
        } },
        { "type": "Camera", "data": { "projectionType": 0, "fov": 60, "isActive": true, "priority": 0 } }
      ],
      "visible": true
    },
    {
      "id": 1,
      "name": "Edge",
      "parent": null,
      "children": [],
      "components": [
        { "type": "Transform", "data": { "position": { "x": 0, "y": 0, "z": 0 } } },
        { "type": "ParticleEmitter", "data": {
          "rate": 0,
          "burstCount": 1,
          "burstInterval": 1000,
          "maxParticles": 1,
          "lifetimeMin": 10,
          "lifetimeMax": 10,
          "shape": 0,
          "speedMin": 0,
          "speedMax": 0,
          "startSizeMin": 120,
          "startSizeMax": 120,
          "endSizeMin": 120,
          "endSizeMax": 120,
          "gravity": { "x": 0, "y": 0, "z": 0 },
          "damping": 0,
          "simulationSpace": 0,
          "looping": false,
          "playOnStart": true,
          "startColor": { "r": 0, "g": 1, "b": 0, "a": 1 },
          "endColor": { "r": 0, "g": 1, "b": 0, "a": 1 },
          "texture": "@uuid:24cb4e0f-7c75-4df4-9a4d-58480ee405c0"
        }}
      ],
      "visible": true
    }
  ]
}