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