Civ2-clone icon indicating copy to clipboard operation
Civ2-clone copied to clipboard

Move animation moves slightly too far

Open reubene opened this issue 2 years ago • 5 comments

Noticed this just before, have not investigated why I think there might be a mistake in the maths

reubene avatar Oct 29 '23 08:10 reubene

Have you fixed this? I do remember this being an issue, but I can't reproduce it now.

axx0 avatar Dec 15 '23 20:12 axx0

I've reworked a lot of things in this area, I'll retest it in the next few days and close if I can't reproduce. I think it might have been an integer rounding problem which may have gone away when I switched all calculations to floating point vectors

reubene avatar Dec 16 '23 08:12 reubene

I can't reproduce this anymore so I'll close it

reubene avatar Dec 16 '23 13:12 reubene

I noticed this again when testing TOT.

axx0 avatar Jan 25 '24 18:01 axx0

Problem appears when loading games with zoom not being 0 (normal zoom). We're drawing everything with normal zoom, but the animation logic doesn't take that into account. I'll fix it for now.

axx0 avatar Feb 22 '24 19:02 axx0