RafaelBarbosatec / bonfire

(RPG maker) Create RPG-style or similar games more simply with Flame.
https://bonfire-engine.github.io
MIT License
1.18k stars 177 forks source link

[Bug]: Character direction does not change during fast animation #523

Closed tkshnwesper closed 1 month ago

tkshnwesper commented 1 month ago

What happened?

In versions 3.9.2 onward, fast animation is not affected by the character's direction. For instance, the shooting animation in the clip below does not flip if the character turns the other way.

https://github.com/RafaelBarbosatec/bonfire/assets/7362366/ae598fbb-3ff9-4dcb-b89b-968bcb60e35f

However, in version 3.9.0, fast animation changed with direction as shown below.

https://github.com/RafaelBarbosatec/bonfire/assets/7362366/d1e89311-5a54-49ae-8f4e-15d9c0e3f664

Steps to reproduce?

1. Try using `animation?.playOnce` or `animation?.playOnceOther` API to reproduce this issue.

What did you expect to happen?

Animation should flip based on direction.

Bonfire version

3.9.3

Relevant log output

No response

tkshnwesper commented 1 month ago

Sent a PR with a fix #524

RafaelBarbosatec commented 1 month ago

Available in the version 3.9.4 To this behavior set useCompFlip = true.