{
 "pack": 1,
 "id": "c4c:beh:cycle_fall_fours",
 "type": "behaviour",
 "version": "1.0.0",
 "name": "Fall (four legs)",
 "description": "An animal on four legs falls with its legs spread and paddling, its ears and tail up: the fall of the game cycles for four legs. It loops every 0.6 seconds.",
 "author": {
  "id": "c4c",
  "name": "Crafts4Class"
 },
 "license": "c4c-free",
 "remixable": true,
 "derived_from": [],
 "preview": {
  "moves": [
   "cycle_fall_fours"
  ],
  "seconds": 2.4
 },
 "content_hash": "sha256:f5a8bf6cac4b71b0ca51869e5ffe6aa9be1d9e2fa3859d46845bb5a5a9141335",
 "content": {
  "v": 1,
  "kind": "behaviour",
  "name": "cycle_fall_fours",
  "params": {
   "h": 540,
   "leg": 0.33
  },
  "scripts": [
   {
    "hat": {
     "on": "start"
    },
    "body": [
     {
      "op": "view",
      "to": "side"
     },
     {
      "op": "mood",
      "mood": "scared"
     },
     {
      "op": "set",
      "to": {
       "part:leg#0": -18,
       "part:shin#0": 20,
       "part:foot#0": 0,
       "part:leg#1": -18,
       "part:shin#1": 20,
       "part:foot#1": 0,
       "part:leg#2": 26,
       "part:shin#2": 16,
       "part:foot#2": 0,
       "part:leg#3": 26,
       "part:shin#3": 16,
       "part:foot#3": 0,
       "dy": "=-0.03*h",
       "part:head": 8,
       "part:tail": 30,
       "part:ear": -10,
       "mouth": 0.3
      }
     },
     {
      "op": "wave",
      "ch": "part:leg#0",
      "shape": "sin",
      "every": 0.6,
      "amp": 10
     },
     {
      "op": "wave",
      "ch": "part:leg#1",
      "shape": "sin",
      "every": 0.6,
      "amp": 10,
      "phase": 3.141592653589793
     },
     {
      "op": "wave",
      "ch": "part:leg#2",
      "shape": "sin",
      "every": 0.6,
      "amp": 10
     },
     {
      "op": "wave",
      "ch": "part:leg#3",
      "shape": "sin",
      "every": 0.6,
      "amp": 10,
      "phase": 3.141592653589793
     },
     {
      "op": "wave",
      "ch": "part:tail",
      "shape": "sin",
      "every": 0.3,
      "amp": 12
     }
    ]
   }
  ]
 }
}
