From 32beb380787dc3baf69cf74a9cd2205eb232de0e Mon Sep 17 00:00:00 2001 From: Joao Paulo Oliveira Fernandes Date: Sun, 31 Mar 2024 12:35:27 -0300 Subject: [PATCH] spire battle animation --- assets/dbs/abilities_animations/spire_db.json | 263 ++++++++++++++++++ assets/images/abilities_animations/spire.json | 140 ++++++++++ assets/images/abilities_animations/spire.png | Bin 0 -> 2957 bytes 3 files changed, 403 insertions(+) create mode 100644 assets/dbs/abilities_animations/spire_db.json create mode 100644 assets/images/abilities_animations/spire.json create mode 100644 assets/images/abilities_animations/spire.png diff --git a/assets/dbs/abilities_animations/spire_db.json b/assets/dbs/abilities_animations/spire_db.json new file mode 100644 index 0000000000..07be567178 --- /dev/null +++ b/assets/dbs/abilities_animations/spire_db.json @@ -0,0 +1,263 @@ +{ + "key_name": "spire", + "cast_type": "psynergy_cast", + "wait_for_cast_animation": false, + "sprites": [{ + "key_name": "spire", + "per_target": false, + "position": "between", + "initial_config": { + "x": "targets", + "y": 0, + "anchor": { + "x": 0.5, + "y": 1.0 + } + } + },{ + "key_name": "stones_1", + "per_target": false, + "position": "between", + "count": 4, + "initial_config": { + "alpha": 0 + } + },{ + "key_name": "stones_2", + "per_target": false, + "position": "between", + "count": 4, + "initial_config": { + "alpha": 0 + } + },{ + "key_name": "stones_3", + "per_target": false, + "position": "between", + "count": 3, + "initial_config": { + "alpha": 0 + } + },{ + "key_name": "stones_4", + "per_target": false, + "position": "between", + "count": 2, + "initial_config": { + "alpha": 0 + } + },{ + "key_name": "stones_5", + "per_target": false, + "position": "between", + "count": 2, + "initial_config": { + "alpha": 0 + } + }], + "alpha_sequence": [{ + "is_absolute": true, + "start_delay": 800, + "to": 0, + "sprite_index": 0 + },{ + "is_absolute": true, + "start_delay": 800, + "to": 1, + "sprite_index": { + "starting_value": 1, + "cumulator": 1, + "amount": 15 + } + }], + "y_sequence": [{ + "start_delay": 500, + "to": "targets", + "sprite_index": 0, + "duration": 300 + },{ + "to": "targets", + "shift": [-60,-55,-32,-55], + "is_absolute": true, + "sprite_index": [1,2,3,4] + },{ + "to": "targets", + "shift": [-55,-42,-35,-43], + "is_absolute": true, + "sprite_index": [5,6,7,8] + },{ + "to": "targets", + "shift": [-21,-52,-38], + "is_absolute": true, + "sprite_index": [9,10,11] + },{ + "to": "targets", + "shift": [-14,-26,-10,-50], + "is_absolute": true, + "sprite_index": [12,13,14,15] + },{ + "start_delay": 800, + "to": -20, + "is_absolute": false, + "sprite_index": { + "starting_value": 1, + "cumulator": 3, + "amount": 5 + }, + "tween": "Quadratic.Out", + "duration": 200 + },{ + "start_delay": 1000, + "to": 120, + "is_absolute": false, + "sprite_index": { + "starting_value": 1, + "cumulator": 3, + "amount": 5 + }, + "tween": "Quadratic.In", + "duration": 500 + },{ + "start_delay": 800, + "to": -40, + "is_absolute": false, + "sprite_index": { + "starting_value": 2, + "cumulator": 3, + "amount": 5 + }, + "tween": "Quadratic.Out", + "duration": 250 + },{ + "start_delay": 1050, + "to": 120, + "is_absolute": false, + "sprite_index": { + "starting_value": 2, + "cumulator": 3, + "amount": 5 + }, + "tween": "Quadratic.In", + "duration": 550 + },{ + "start_delay": 800, + "to": -15, + "is_absolute": false, + "sprite_index": { + "starting_value": 3, + "cumulator": 3, + "amount": 5 + }, + "tween": "Quadratic.Out", + "duration": 150 + },{ + "start_delay": 950, + "to": 120, + "is_absolute": false, + "sprite_index": { + "starting_value": 3, + "cumulator": 3, + "amount": 5 + }, + "tween": "Quadratic.In", + "duration": 350 + }], + "x_sequence": [{ + "to": "targets", + "shift": [5,-17,-5,-10], + "is_absolute": true, + "sprite_index": [1,2,3,4] + },{ + "to": "targets", + "shift": [-7,1,-11,-14], + "is_absolute": true, + "sprite_index": [5,6,7,8] + },{ + "to": "targets", + "shift": [-10,-2,0], + "is_absolute": true, + "sprite_index": [9,10,11] + },{ + "to": "targets", + "shift": [-1,4,-2,0], + "is_absolute": true, + "sprite_index": [12,13,14,15] + },{ + "to": [-11,-8,-11,-12,-18,-12,-5,-5,-11,-4,-13], + "start_delay": 800, + "is_absolute": false, + "sprite_index": [2,3,4,5,7,8,9,10,12,13,14], + "duration": 700 + },{ + "to": [5,16,7,15], + "start_delay": 800, + "is_absolute": false, + "sprite_index": [1,6,11,15], + "duration": 700 + }], + "play_sequence": [{ + "animation_key": "stones_1", + "start_delay": 800, + "sprite_index": [1,2,3,4], + "reverse": false, + "frame_rate": 10, + "repeat": true, + "wait": false, + "hide_on_complete": false + },{ + "animation_key": "stones_2", + "start_delay": 800, + "sprite_index": [5,6,7,8], + "reverse": false, + "frame_rate": 10, + "repeat": true, + "wait": false, + "hide_on_complete": false + },{ + "animation_key": "stones_3", + "start_delay": 800, + "sprite_index": [9,10,11], + "reverse": false, + "frame_rate": 10, + "repeat": true, + "wait": false, + "hide_on_complete": false + },{ + "animation_key": "stones_4", + "start_delay": 800, + "sprite_index": [12,13], + "reverse": false, + "frame_rate": 10, + "repeat": true, + "wait": false, + "hide_on_complete": false + },{ + "animation_key": "stones_5", + "start_delay": 800, + "sprite_index": [14,15], + "reverse": false, + "frame_rate": 10, + "repeat": true, + "wait": false, + "hide_on_complete": false + },{ + "animation_key": "damage", + "start_delay": 800, + "sprite_index": "targets", + "wait": false + }], + "blink_sequence": [{ + "sprite_index": "targets", + "start_delay": 800, + "count": 1, + "interval": 70 + }], + "shake_sequence": [{ + "sprite_index": "background", + "start_delay": 800, + "interval": 50, + "shake_count": 2, + "intensity": 1, + "direction": "y" + }] +} \ No newline at end of file diff --git a/assets/images/abilities_animations/spire.json b/assets/images/abilities_animations/spire.json new file mode 100644 index 0000000000..99653d1c0a --- /dev/null +++ b/assets/images/abilities_animations/spire.json @@ -0,0 +1,140 @@ +{"frames": { + +"spire/000": +{ + "frame": {"x":1,"y":1,"w":34,"h":62}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":34,"h":62}, + "sourceSize": {"w":34,"h":62} +}, +"stones_1/000": +{ + "frame": {"x":80,"y":1,"w":12,"h":21}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":12,"h":21}, + "sourceSize": {"w":12,"h":21} +}, +"stones_1/001": +{ + "frame": {"x":37,"y":1,"w":17,"h":18}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":17,"h":18}, + "sourceSize": {"w":17,"h":18} +}, +"stones_1/002": +{ + "frame": {"x":56,"y":1,"w":22,"h":13}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":22,"h":13}, + "sourceSize": {"w":22,"h":13} +}, +"stones_2/000": +{ + "frame": {"x":37,"y":21,"w":15,"h":16}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":15,"h":16}, + "sourceSize": {"w":15,"h":16} +}, +"stones_2/001": +{ + "frame": {"x":56,"y":16,"w":16,"h":15}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":16,"h":15}, + "sourceSize": {"w":16,"h":15} +}, +"stones_2/002": +{ + "frame": {"x":37,"y":39,"w":14,"h":15}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":14,"h":15}, + "sourceSize": {"w":14,"h":15} +}, +"stones_3/000": +{ + "frame": {"x":54,"y":33,"w":13,"h":17}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":13,"h":17}, + "sourceSize": {"w":13,"h":17} +}, +"stones_3/001": +{ + "frame": {"x":85,"y":38,"w":9,"h":21}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":9,"h":21}, + "sourceSize": {"w":9,"h":21} +}, +"stones_3/002": +{ + "frame": {"x":74,"y":24,"w":19,"h":12}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":19,"h":12}, + "sourceSize": {"w":19,"h":12} +}, +"stones_4/000": +{ + "frame": {"x":76,"y":51,"w":7,"h":10}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":7,"h":10}, + "sourceSize": {"w":7,"h":10} +}, +"stones_4/001": +{ + "frame": {"x":69,"y":38,"w":7,"h":11}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":7,"h":11}, + "sourceSize": {"w":7,"h":11} +}, +"stones_4/002": +{ + "frame": {"x":37,"y":56,"w":12,"h":7}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":12,"h":7}, + "sourceSize": {"w":12,"h":7} +}, +"stones_5/000": +{ + "frame": {"x":78,"y":38,"w":5,"h":11}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":5,"h":11}, + "sourceSize": {"w":5,"h":11} +}, +"stones_5/001": +{ + "frame": {"x":51,"y":56,"w":11,"h":5}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":11,"h":5}, + "sourceSize": {"w":11,"h":5} +}, +"stones_5/002": +{ + "frame": {"x":64,"y":52,"w":10,"h":10}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":10,"h":10}, + "sourceSize": {"w":10,"h":10} +}}, +"meta": { + "app": "http://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "spire.png", + "format": "RGBA8888", + "size": {"w":95,"h":64}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:d34d3abb09c07a173c89ac2e26fe2b43:b7e9d4f1cbcb530f870e0479a41bf290:46c6cfdd0569ba10dbdf89ddcfd44c42$" +} +} diff --git a/assets/images/abilities_animations/spire.png b/assets/images/abilities_animations/spire.png new file mode 100644 index 0000000000000000000000000000000000000000..02cd74dcfcddf51eab575334e106383f5715817b GIT binary patch literal 2957 zcmV;83v%>{P)4^M1?H~1Bi&oBedWDYrO$) zsBL%mUH<8>Bb-b!C&|f-M*sFnwbvDSGI?3CNMT9#WmA=!GpzAP}GJ8^?} zaZ`}My}zcWBw7Cq&jpzc2Fkiho*f9A9zI=9FP5>m``m~s&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