Refactor rhythm action architecture
This commit is contained in:
17
resources/actions/skill_a.tres
Normal file
17
resources/actions/skill_a.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_a"
|
||||
display_name = "A"
|
||||
input_pattern = Array[StringName]([&"A"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_a"
|
||||
energy_reward = 1.0
|
||||
displacement = &"left"
|
||||
clear_window = false
|
||||
16
resources/actions/skill_a_space.tres
Normal file
16
resources/actions/skill_a_space.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_a_space"
|
||||
display_name = "A+SP"
|
||||
input_pattern = Array[StringName]([&"A", &"SP"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_a_space"
|
||||
displacement = &"left"
|
||||
clear_window = true
|
||||
17
resources/actions/skill_aa.tres
Normal file
17
resources/actions/skill_aa.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_aa"
|
||||
display_name = "A+A"
|
||||
input_pattern = Array[StringName]([&"A", &"A"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_aa"
|
||||
energy_reward = 1.0
|
||||
displacement = &"left"
|
||||
clear_window = false
|
||||
16
resources/actions/skill_aa_space.tres
Normal file
16
resources/actions/skill_aa_space.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_aa_space"
|
||||
display_name = "A+A+SP"
|
||||
input_pattern = Array[StringName]([&"A", &"A", &"SP"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_a_space_space"
|
||||
displacement = &"left"
|
||||
clear_window = true
|
||||
17
resources/actions/skill_aaa.tres
Normal file
17
resources/actions/skill_aaa.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_aaa"
|
||||
display_name = "A+A+A"
|
||||
input_pattern = Array[StringName]([&"A", &"A", &"A"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_aaa"
|
||||
energy_reward = 1.0
|
||||
displacement = &"left"
|
||||
clear_window = false
|
||||
16
resources/actions/skill_ad_space.tres
Normal file
16
resources/actions/skill_ad_space.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_ad_space"
|
||||
display_name = "A+D+SP"
|
||||
input_pattern = Array[StringName]([&"A", &"D", &"SP"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_a_space_space"
|
||||
displacement = &"right"
|
||||
clear_window = true
|
||||
17
resources/actions/skill_d.tres
Normal file
17
resources/actions/skill_d.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_d"
|
||||
display_name = "D"
|
||||
input_pattern = Array[StringName]([&"D"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_a"
|
||||
energy_reward = 1.0
|
||||
displacement = &"right"
|
||||
clear_window = false
|
||||
16
resources/actions/skill_d_space.tres
Normal file
16
resources/actions/skill_d_space.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_d_space"
|
||||
display_name = "D+SP"
|
||||
input_pattern = Array[StringName]([&"D", &"SP"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_a_space"
|
||||
displacement = &"right"
|
||||
clear_window = true
|
||||
16
resources/actions/skill_d_space_space.tres
Normal file
16
resources/actions/skill_d_space_space.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_d_space_space"
|
||||
display_name = "D+SP+SP"
|
||||
input_pattern = Array[StringName]([&"D", &"SP", &"SP"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_a_space_space"
|
||||
displacement = &"right"
|
||||
clear_window = true
|
||||
16
resources/actions/skill_da_space.tres
Normal file
16
resources/actions/skill_da_space.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_da_space"
|
||||
display_name = "D+A+SP"
|
||||
input_pattern = Array[StringName]([&"D", &"A", &"SP"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_a_space_space"
|
||||
displacement = &"left"
|
||||
clear_window = true
|
||||
17
resources/actions/skill_dd.tres
Normal file
17
resources/actions/skill_dd.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_dd"
|
||||
display_name = "D+D"
|
||||
input_pattern = Array[StringName]([&"D", &"D"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_aa"
|
||||
energy_reward = 1.0
|
||||
displacement = &"right"
|
||||
clear_window = false
|
||||
16
resources/actions/skill_dd_space.tres
Normal file
16
resources/actions/skill_dd_space.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_dd_space"
|
||||
display_name = "D+D+SP"
|
||||
input_pattern = Array[StringName]([&"D", &"D", &"SP"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_a_space_space"
|
||||
displacement = &"right"
|
||||
clear_window = true
|
||||
17
resources/actions/skill_ddd.tres
Normal file
17
resources/actions/skill_ddd.tres
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_ddd"
|
||||
display_name = "D+D+D"
|
||||
input_pattern = Array[StringName]([&"D", &"D", &"D"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_aaa"
|
||||
energy_reward = 1.0
|
||||
displacement = &"right"
|
||||
clear_window = false
|
||||
15
resources/actions/skill_s.tres
Normal file
15
resources/actions/skill_s.tres
Normal file
@@ -0,0 +1,15 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_s"
|
||||
display_name = "S"
|
||||
input_pattern = Array[StringName]([&"S"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_s"
|
||||
clear_window = false
|
||||
20
resources/actions/skill_s_projectile_1.tres
Normal file
20
resources/actions/skill_s_projectile_1.tres
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/combat/player_projectile.tscn" id="2"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_s_projectile_1"
|
||||
display_name = "S+SP"
|
||||
input_pattern = Array[StringName]([&"S", &"SP"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_s_projectile"
|
||||
energy_cost = 3.0
|
||||
spawns_projectile = true
|
||||
projectile_scene = ExtResource("2")
|
||||
clear_window = false
|
||||
can_chain = true
|
||||
20
resources/actions/skill_s_projectile_2.tres
Normal file
20
resources/actions/skill_s_projectile_2.tres
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/combat/player_projectile.tscn" id="2"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_s_projectile_2"
|
||||
display_name = "S+SP+SP"
|
||||
input_pattern = Array[StringName]([&"S", &"SP", &"SP"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_s_projectile"
|
||||
energy_cost = 2.0
|
||||
spawns_projectile = true
|
||||
projectile_scene = ExtResource("2")
|
||||
clear_window = false
|
||||
can_chain = true
|
||||
20
resources/actions/skill_s_projectile_3.tres
Normal file
20
resources/actions/skill_s_projectile_3.tres
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/combat/player_projectile.tscn" id="2"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_s_projectile_3"
|
||||
display_name = "S+SP+SP+SP"
|
||||
input_pattern = Array[StringName]([&"S", &"SP", &"SP", &"SP"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_s_projectile"
|
||||
energy_cost = 1.0
|
||||
spawns_projectile = true
|
||||
projectile_scene = ExtResource("2")
|
||||
clear_window = false
|
||||
can_chain = true
|
||||
15
resources/actions/skill_ss.tres
Normal file
15
resources/actions/skill_ss.tres
Normal file
@@ -0,0 +1,15 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_s"
|
||||
display_name = "S"
|
||||
input_pattern = Array[StringName]([&"S", &"S"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_s"
|
||||
clear_window = false
|
||||
15
resources/actions/skill_sss.tres
Normal file
15
resources/actions/skill_sss.tres
Normal file
@@ -0,0 +1,15 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_s"
|
||||
display_name = "S"
|
||||
input_pattern = Array[StringName]([&"S", &"S", &"S"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_s"
|
||||
clear_window = false
|
||||
15
resources/actions/skill_ssss.tres
Normal file
15
resources/actions/skill_ssss.tres
Normal file
@@ -0,0 +1,15 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_s"
|
||||
display_name = "S"
|
||||
input_pattern = Array[StringName]([&"S", &"S", &"S", &"S"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_s"
|
||||
clear_window = false
|
||||
15
resources/actions/skill_w.tres
Normal file
15
resources/actions/skill_w.tres
Normal file
@@ -0,0 +1,15 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_w"
|
||||
display_name = "W"
|
||||
input_pattern = Array[StringName]([&"W"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_w"
|
||||
clear_window = false
|
||||
16
resources/actions/skill_wa.tres
Normal file
16
resources/actions/skill_wa.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_wa"
|
||||
display_name = "W+A"
|
||||
input_pattern = Array[StringName]([&"W", &"A"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_wa"
|
||||
displacement = &"left"
|
||||
clear_window = false
|
||||
16
resources/actions/skill_wd.tres
Normal file
16
resources/actions/skill_wd.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="Resource" script_class="ActionData" load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://resources/action_data.gd" id="1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
id = &"skill_wd"
|
||||
display_name = "W+D"
|
||||
input_pattern = Array[StringName]([&"W", &"D"])
|
||||
startup_beats = 0.25
|
||||
active_beats = 0.25
|
||||
recovery_beats = 0.5
|
||||
cancel_from = 0.5
|
||||
animation = &"warrior_wa"
|
||||
displacement = &"right"
|
||||
clear_window = false
|
||||
Reference in New Issue
Block a user