Aatu / FieryVoid

A browser game based on AOGwars
8 stars 12 forks source link

Replay and pivot #719

Open Zero1627 opened 4 years ago

Zero1627 commented 4 years ago

Pivot (possibly Roll as well?) is displayed wrong in replay. Most probably because it looks for orientation for a given turn - while it should use state for start of turn at the start! (or for end of previous turn ;) ).

It should use the state in a particular move, in fact, so pivots (and other maneuvers) are displayed properly!

EDIT - unit actual direction of movement is also displayed incorrectly (but only for viewers that are not active players!)... maybe correct that as well?

Zero1627 commented 4 years ago

client/renderer/animationStrategy/animation/ShipMovementAnimation.js getPositionAndFacingAtTime

Zero1627 commented 3 years ago

reason: actual direction of movement is checked for active player only... not so easy to fix!