X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=data%2Fanimations%2FRobotTrooper.json;fp=data%2Fanimations%2FRobotTrooper.json;h=ed68a9b2337c7175d93539c3090b0c3428d123bd;hp=0000000000000000000000000000000000000000;hb=7d15b919681bb9ec0088b4b27c6abf62d6dfb9b1;hpb=0fffd0097d7b496454413e57b398c903ecc252e4 diff --git a/data/animations/RobotTrooper.json b/data/animations/RobotTrooper.json new file mode 100644 index 0000000..ed68a9b --- /dev/null +++ b/data/animations/RobotTrooper.json @@ -0,0 +1,203 @@ +{ + "Stand": { + "type": "Stand", + "delay": 1, + "frames": [ + { + "index": 0, + "duration": 2 + }, + { + "index": 1, + "duration": 0.25 + }, + { + "index": 2, + "duration": 2 + }, + { + "index": 1, + "duration": 0.25 + } + ] + }, + "Run": { + "type": "Run", + "delay": 0.25, + "frames": [ + { + "index": 4 + }, + { + "index": 5 + }, + { + "index": 6 + }, + { + "index": 7 + } + ] + }, + "StopRunning": { + "type": "Stand", + "next": "Stand", + "delay": 10, + "loop": true, + "frames": [ + { + "index": 5 + } + ] + }, + "Jump": { + "type": "Jump", + "next": "FlyDiagonallyUp", + "delay": 0.25, + "frames": [ + { + "index": 17 + } + ] + }, + "Land": { + "type": "Stand", + "next": "Stand", + "delay": 1, + "loop": true, + "frames": [ + { + "index": 19, + "duration": 0.25 + }, + { + "index": 14, + "duration": 0.25 + } + ] + }, + "FlyDiagonallyUp": { + "type": "Fly", + "delay": 0.1, + "frames": [ + { + "index": 18 + } + ] + }, + "FlyDiagonallyDown": { + "type": "Fly", + "delay": 0.1, + "frames": [ + { + "index": 18 + } + ] + }, + "FlyStraightUp": { + "type": "Fly", + "delay": 0.1, + "frames": [ + { + "index": 18 + } + ] + }, + "FlyHorizontally": { + "type": "Fly", + "frames": [ + { + "index": 18 + } + ] + }, + "Punch": { + "type": "Attack", + "next": "Stand", + "delay": 0.05, + "frames": [ + { + "index": 8 + }, + { + "index": 9 + }, + { + "index": 10 + }, + { + "index": 11 + }, + { + "index": 12 + }, + { + "index": 13 + } + ] + }, + "StartFiring": { + "type": "Attack", + "next": "Fire", + "delay": 0.1, + "frames": [ + { + "index": 14 + }, + { + "index": 15 + }, + { + "index": 16 + } + ] + }, + "Fire": { + "type": "Attack", + "delay": 1, + "frames": [ + { + "index": 17, + "duration": 0.2 + }, + { + "index": 16, + "duration": 0.2 + } + ] + }, + "StopFiring": { + "type": "Attack", + "next": "Stand", + "delay": 0.1, + "frames": [ + { + "index": 16 + }, + { + "index": 15 + }, + { + "index": 14 + } + ] + }, + "KnockedDown": { + "type": "Hit", + "delay": 1, + "frames": [ + { + "index": 18 + } + ] + }, + "Flattened": { + "type": "Hit", + "delay": 1, + "frames": [ + { + "index": 19 + } + ] + } +}