OpenKrush icon indicating copy to clipboard operation
OpenKrush copied to clipboard

Backwards Docking should play movement animation in reverse

Open IceReaper opened this issue 6 years ago • 3 comments

IceReaper avatar Nov 13 '18 18:11 IceReaper

The problem is that the actor is moved via Drag. However this triggers the Mobile code so swap the animation to "Move". There is no detection if its forward/backward. Also there is no PlayRepeatingBackwards.

IceReaper avatar Mar 11 '21 19:03 IceReaper

Would adding additional sequence for actors help, though?

For example:

move-backward: sprites.lvl|Mastodon.mobd Start: 48 Length: * Frames: 58,57,56,55,54,53,52,51,50,49,48 Tick: 120 Facings: -16

Dzierzan avatar Mar 11 '21 20:03 Dzierzan

No, the standard actor movement code detects movement and sets the animation to "Move". that code must be enhanced in openra to detect backwards movement and then play the animation reversed.

IceReaper avatar Mar 11 '21 20:03 IceReaper