master
chendian 9 months ago
parent f97f2d73ba
commit 372c2d911f

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

@ -11,7 +11,7 @@
[node name="BeehaveTree" type="Node" node_paths=PackedStringArray("blackboard")]
script = ExtResource("1_7oi2o")
blackboard = NodePath("@Node@25186")
blackboard = NodePath("@Node@25099")
[node name="SequenceComposite" type="Node" parent="."]
script = ExtResource("3_i33jf")

@ -11,7 +11,7 @@
[node name="BeehaveTree" type="Node" node_paths=PackedStringArray("blackboard")]
script = ExtResource("1_bbyao")
blackboard = NodePath("@Node@25187")
blackboard = NodePath("@Node@25100")
[node name="SequenceComposite" type="Node" parent="."]
script = ExtResource("2_04nig")

@ -44,7 +44,6 @@ func character_attack1() -> void:
func character_attack2() -> void:
print("character_attack2")
var attack_info: Struct.AttackInfo = Struct.AttackInfo.new()
attack_info.attack = status.cfg.attack2
attack_info.attack_box = status.cfg.attack2_box
@ -81,7 +80,6 @@ func on_attack_character(result: Character, attack_info: Struct.AttackInfo) -> v
func settle(from: int, to: int, attack_info: Struct.AttackInfo) -> Struct.HitResultInfo:
print("settle",from,to)
var attack: AttackCfg = attack_info.attack
var attack_dir: Vector2 = attack_info.attack_dir
var with_stop: bool = attack_info.with_stop

@ -227,7 +227,6 @@ func _frame_back(frame_offset: int) -> void:
var frame: int = int((current_animation_position + 0.001) / Setting.animation_frame_rate) - frame_offset
frame = max(0, frame)
var frame_pos: float = frame * Setting.animation_frame_rate
print(current_animation_position, "->", frame_pos, "->", frame, "->", frame_offset)
seek(frame_pos- Setting.animation_frame_rate * 0.8, true, true)

Loading…
Cancel
Save