{
  "version": 2,
  "assets": [],
  "timeline": {
    "duration": 10,
    "loop": true,
    "keys": []
  },
  "program3d": {
    "version": 1,
    "scriptModules": [],
    "components": [],
    "animationControllers": [],
    "widgets": [],
    "randomSeed": 1,
    "title": "Jump & collect",
    "description": "Collect the green cube, then reach the purple gate. Move with A/D and jump with Space. The rules, camera and HUD are editable in Gameplay.",
    "variables": {
      "yaw": 0,
      "pitch": 0,
      "shots": 0
    },
    "rules": [
      {
        "name": "look",
        "event": "tick",
        "when": 1,
        "set": [
          {
            "variable": "yaw",
            "value": "yaw-input.PointerDX*0.002"
          },
          {
            "variable": "pitch",
            "value": "clamp(pitch-input.PointerDY*0.002,-1.5,1.5)"
          }
        ],
        "actions": []
      },
      {
        "name": "fire",
        "event": "key",
        "key": "Mouse0",
        "when": 1,
        "set": [
          {
            "variable": "shots",
            "value": "shots+1"
          }
        ],
        "actions": []
      }
    ],
    "prefabs": [],
    "sounds": [],
    "sensors": [],
    "bindings": [
      {
        "actorId": "player",
        "position": [
          0,
          1,
          0
        ],
        "rotation": [
          "pitch",
          "yaw",
          0
        ],
        "scale": [
          1,
          1,
          1
        ],
        "visible": 1
      }
    ],
    "camera": {
      "actorId": "player",
      "mode": "follow",
      "offset": [
        0,
        1.7,
        0
      ],
      "lookAt": [
        0,
        1.7,
        -100
      ],
      "alternateOffset": [
        0,
        1,
        0
      ],
      "alternateLookAt": [
        0,
        1,
        -100
      ],
      "switchKey": "",
      "smoothing": 0,
      "far": 10000,
      "pointerLock": true
    },
    "menu": [],
    "hud": [],
    "messages": [],
    "points": [],
    "boxes": [],
    "controls": [
      {
        "label": "Left",
        "code": "KeyA"
      },
      {
        "label": "Right",
        "code": "KeyD"
      },
      {
        "label": "Jump",
        "code": "Space"
      }
    ],
    "pauseWhen": 0
  },
  "name": "Mouse input regression",
  "actors": [
    {
      "id": "player",
      "name": "Player",
      "kind": "cube",
      "group": "Example",
      "position": [
        0,
        1,
        0
      ],
      "rotation": [
        0,
        0,
        0
      ],
      "scale": [
        1,
        1,
        1
      ],
      "visible": true,
      "color": "#e5bb53",
      "roughness": 0.82,
      "metallic": 0,
      "modelRecipe": {
        "shapes": [
          {
            "kind": "box",
            "min": [
              -0.5,
              -0.5,
              -0.5
            ],
            "max": [
              0.5,
              0.5,
              0.5
            ]
          }
        ]
      }
    },
    {
      "id": "ground",
      "name": "Ground",
      "kind": "cube",
      "group": "Example",
      "position": [
        0,
        -0.5,
        0
      ],
      "rotation": [
        0,
        0,
        0
      ],
      "scale": [
        1,
        1,
        1
      ],
      "visible": true,
      "color": "#243c50",
      "roughness": 0.82,
      "metallic": 0,
      "modelRecipe": {
        "shapes": [
          {
            "kind": "box",
            "min": [
              -12,
              -0.5,
              -8
            ],
            "max": [
              12,
              0.5,
              8
            ]
          }
        ]
      }
    },
    {
      "id": "pickup",
      "name": "Collectible",
      "kind": "cube",
      "group": "Example",
      "position": [
        4,
        2,
        0
      ],
      "rotation": [
        0,
        0,
        0
      ],
      "scale": [
        1,
        1,
        1
      ],
      "visible": true,
      "color": "#73e5c5",
      "roughness": 0.82,
      "metallic": 0,
      "modelRecipe": {
        "shapes": [
          {
            "kind": "box",
            "min": [
              -0.325,
              -0.325,
              -0.325
            ],
            "max": [
              0.325,
              0.325,
              0.325
            ]
          }
        ]
      }
    },
    {
      "id": "goal",
      "name": "Goal",
      "kind": "cube",
      "group": "Example",
      "position": [
        9,
        1,
        0
      ],
      "rotation": [
        0,
        0,
        0
      ],
      "scale": [
        1,
        1,
        1
      ],
      "visible": true,
      "color": "#9b8ce9",
      "roughness": 0.82,
      "metallic": 0,
      "modelRecipe": {
        "shapes": [
          {
            "kind": "box",
            "min": [
              -0.5,
              -1,
              -1
            ],
            "max": [
              0.5,
              1,
              1
            ]
          }
        ]
      }
    },
    {
      "id": "ededbe3f-c5bb-4b2e-8f82-f5a808a66186",
      "name": "Part color regression",
      "kind": "cube",
      "group": "Primitives",
      "position": [
        3,
        0,
        10
      ],
      "rotation": [
        0,
        0,
        0
      ],
      "scale": [
        1,
        1,
        1
      ],
      "visible": true,
      "color": "#44dd66",
      "roughness": 0.82,
      "metallic": 0,
      "modelRecipe": {
        "shapes": [
          {
            "kind": "box",
            "min": [
              -2,
              0,
              -1
            ],
            "max": [
              0,
              2,
              1
            ],
            "color": "#ff0000"
          },
          {
            "kind": "box",
            "min": [
              0,
              0,
              -1
            ],
            "max": [
              2,
              2,
              1
            ],
            "color": "#0088ff"
          },
          {
            "kind": "box",
            "min": [
              -0.5,
              2,
              -0.5
            ],
            "max": [
              0.5,
              3,
              0.5
            ]
          }
        ]
      }
    }
  ],
  "terrain": {
    "generator": "legacy",
    "height": 1,
    "erosion": 0.46,
    "seed": 38,
    "stamps": [
      {
        "x": 0,
        "z": 0,
        "radius": 8,
        "strength": 10,
        "mode": "flatten",
        "targetHeight": 2
      },
      {
        "x": 0,
        "z": 0,
        "radius": 8,
        "strength": 5,
        "mode": "smooth"
      }
    ],
    "seedMode": "full"
  },
  "environment": {
    "hdr": false,
    "exposure": 2.2,
    "sunIntensity": 1.4,
    "hour": 16.8,
    "fog": 24,
    "grass": 0,
    "ambientIntensity": 3.5,
    "ambientSkyColor": "#adc9ef",
    "ambientGroundColor": "#665544"
  },
  "logic": []
}