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.

2.8 KB
Raw Blame
{
  "name": "third-person \u2014 cold boot to victory, on the game's own facts",
  "diagnose": [
    "Player",
    "CoreA",
    "CoreB",
    "CoreC",
    "Gate"
  ],
  "legs": [
    {
      "area": "main",
      "until": {
        "phase": "playing",
        "health": 100,
        "coresCollected": 0,
        "gateOpen": false
      },
      "timeout": 300
    },
    {
      "area": "main",
      "keys": [
        "KeyW"
      ],
      "until": {
        "checkpoint": "shelf"
      },
      "timeout": 900
    },
    {
      "area": "main",
      "keys": [
        "KeyW"
      ],
      "until": {
        "checkpoint": "bridge"
      },
      "timeout": 1200
    },
    {
      "area": "main",
      "keys": [
        "KeyW"
      ],
      "until": {
        "health": {
          "atMost": 99
        }
      },
      "timeout": 900
    },
    {
      "area": "main",
      "until": {
        "dead": true,
        "health": 0
      },
      "timeout": 900
    },
    {
      "area": "main",
      "tap": "KeyE",
      "until": {
        "dead": false,
        "phase": "playing",
        "health": 100
      },
      "timeout": 600
    },
    {
      "area": "main",
      "tap": "Escape",
      "until": {
        "paused": true
      },
      "timeout": 600
    },
    {
      "area": "main",
      "tap": "Escape",
      "until": {
        "paused": false
      },
      "timeout": 600
    },
    {
      "area": "main",
      "keys": [
        "KeyW"
      ],
      "tap": "KeyE",
      "until": {
        "coresCollected": 1,
        "gateOpen": false
      },
      "timeout": 2000
    },
    {
      "area": "main",
      "keys": [
        "KeyD"
      ],
      "hold": 85
    },
    {
      "area": "main",
      "keys": [
        "KeyW"
      ],
      "tap": "KeyE",
      "until": {
        "coresCollected": 2,
        "gateOpen": false
      },
      "timeout": 90
    },
    {
      "area": "main",
      "keys": [
        "KeyA"
      ],
      "hold": 85
    },
    {
      "area": "main",
      "keys": [
        "KeyW"
      ],
      "tap": "KeyE",
      "hold": 24
    },
    {
      "area": "main",
      "expect": {
        "gateOpen": false,
        "phase": "playing",
        "coresCollected": 2
      }
    },
    {
      "area": "main",
      "keys": [
        "KeyS"
      ],
      "hold": 40
    },
    {
      "area": "main",
      "keys": [
        "KeyA"
      ],
      "hold": 75
    },
    {
      "area": "main",
      "keys": [
        "KeyS"
      ],
      "tap": "KeyE",
      "until": {
        "coresCollected": 3
      },
      "timeout": 110
    },
    {
      "area": "main",
      "keys": [
        "KeyD"
      ],
      "hold": 75
    },
    {
      "area": "main",
      "keys": [
        "KeyW"
      ],
      "tap": "KeyE",
      "until": {
        "phase": "won",
        "gateOpen": true
      },
      "timeout": 140
    }
  ]
}