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": "2",
  "name": "Star",
  "rootEntityId": "0",
  "entities": [
    {
      "prefabEntityId": "0",
      "name": "Star",
      "parent": null,
      "children": [],
      "components": [
        {
          "type": "Transform",
          "data": {
            "position": {
              "x": 0,
              "y": 0,
              "z": -0.5
            }
          }
        },
        {
          "type": "Sprite",
          "data": {
            "texture": "@uuid:8f56c884-0439-47f1-86d9-05839abfa6e0",
            "size": {
              "x": 9,
              "y": 9
            },
            "color": {
              "r": 1,
              "g": 1,
              "b": 1,
              "a": 0.7
            },
            "layer": -1
          }
        },
        {
          "type": "Velocity",
          "data": {
            "linear": {
              "x": 0,
              "y": -30,
              "z": 0
            },
            "angular": {
              "x": 0,
              "y": 0,
              "z": 0
            }
          }
        },
        {
          "type": "Star",
          "data": {}
        }
      ],
      "visible": true
    }
  ]
}