Skip to content

Commit

Permalink
spire battle animation
Browse files Browse the repository at this point in the history
  • Loading branch information
jjppof committed Mar 31, 2024
1 parent c6356cf commit 32beb38
Show file tree
Hide file tree
Showing 3 changed files with 403 additions and 0 deletions.
263 changes: 263 additions & 0 deletions assets/dbs/abilities_animations/spire_db.json
Original file line number Diff line number Diff line change
@@ -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"
}]
}
Loading

0 comments on commit 32beb38

Please sign in to comment.