Open RobinManoli opened 4 years ago
Hi! Imo there is a bug in rendering the first frame of the turn animation. The frame before the turn animation starts rendered as already turned. Then the animation starts next frame.
I didn't look so much into the logic, but here is a quick fix:
https://github.com/Maxdamantus/recplay/blob/master/src/recRender.ts#L224 const lastTurnF = lastTurn(frame) - 1;
Hi! Imo there is a bug in rendering the first frame of the turn animation. The frame before the turn animation starts rendered as already turned. Then the animation starts next frame.
I didn't look so much into the logic, but here is a quick fix:
https://github.com/Maxdamantus/recplay/blob/master/src/recRender.ts#L224 const lastTurnF = lastTurn(frame) - 1;