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.

737 B
Raw Blame
{
  "parameters": [
    {
      "name": "bend",
      "type": "float",
      "default": 0
    }
  ],
  "initialState": "Flat",
  "states": [
    {
      "name": "Flat",
      "motion": {
        "kind": "timeline",
        "clip": "skinned-fade_Flat.estimeline",
        "loop": true
      },
      "transitions": [
        {
          "to": "Bent",
          "conditions": [
            {
              "param": "bend",
              "op": "gt",
              "value": 0
            }
          ],
          "duration": 1.0
        }
      ]
    },
    {
      "name": "Bent",
      "motion": {
        "kind": "timeline",
        "clip": "skinned-fade_Bent.estimeline",
        "loop": true
      },
      "transitions": []
    }
  ]
}