ethanmoffat / EndlessClient

An open source client for Endless Online written in C#
MIT License
34 stars 16 forks source link

Map Transition should stop once out of visible range #285

Closed ethanmoffat closed 1 year ago

ethanmoffat commented 1 year ago

There's a noticeable frame drop when switching maps with the transition enabled, especially large maps. This is likely because the terminating condition for the map transition is not when the tiles are out of view, but once the whole map bounds have done the animation.

Need to change the bounds to be based on the client view bounds.

ethanmoffat commented 1 year ago

Adjusted the transition timing so that it goes quicker now. This reduces the duration of the perf hit from the transition animation.

Changed in #298