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