added a parry button and animation that lets player chose their enemy hit behaviour
This commit is contained in:
@@ -614,12 +614,24 @@ to = NodePath("../../StandardAttack")
|
||||
event = &"standard_attack"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="ToStandardParry" type="Node" parent="StateChart/Root/Attack/Ready" unique_id=237786700]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../../StandardParry")
|
||||
event = &"standard_parry"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="ToDashAttack" type="Node" parent="StateChart/Root/Attack/Ready" unique_id=505795999]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../../DashAttack")
|
||||
event = &"dash_attack"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="ToDashParry" type="Node" parent="StateChart/Root/Attack/Ready" unique_id=39360094]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../../DashParry")
|
||||
event = &"dash_parry"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="StandardAttack" type="Node" parent="StateChart/Root/Attack" unique_id=569485647]
|
||||
script = ExtResource("27_34snm")
|
||||
|
||||
@@ -644,6 +656,30 @@ to = NodePath("../../Ready")
|
||||
event = &"attack_finished"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="StandardParry" type="Node" parent="StateChart/Root/Attack" unique_id=1244610762]
|
||||
script = ExtResource("27_34snm")
|
||||
|
||||
[node name="ToReady" type="Node" parent="StateChart/Root/Attack/StandardParry" unique_id=472222096]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../../Ready")
|
||||
event = &"attack_finished"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="ToDashParry" type="Node" parent="StateChart/Root/Attack/StandardParry" unique_id=548221621]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../../DashParry")
|
||||
event = &"dash_parry"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="DashParry" type="Node" parent="StateChart/Root/Attack" unique_id=898768175]
|
||||
script = ExtResource("27_34snm")
|
||||
|
||||
[node name="ToReady" type="Node" parent="StateChart/Root/Attack/DashParry" unique_id=533843974]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../../Ready")
|
||||
event = &"attack_finished"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="Movement" type="Node" parent="StateChart/Root" unique_id=1029421869]
|
||||
script = ExtResource("26_infe6")
|
||||
initial_state = NodePath("Grounded")
|
||||
|
||||
Reference in New Issue
Block a user