X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=data%2Fanimations%2FAlienWarrior.json;h=2268fca21fd7214fe1ec5c7dafe64a6330ab2668;hp=15d28cf894cf40d788f51f21372f5e663d032a3c;hb=16d1a05b0777e97a45c48e2874aa4e5cc791282e;hpb=15cd32dc28e7fa5997d9850d7e10b889f69a7cae diff --git a/data/animations/AlienWarrior.json b/data/animations/AlienWarrior.json index 15d28cf..2268fca 100644 --- a/data/animations/AlienWarrior.json +++ b/data/animations/AlienWarrior.json @@ -1,184 +1,214 @@ { - "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 - } - ] - } + "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 + } + ] + } }