forkserf / forkserf

a continuation of "FreeSerf"

Home Page:https://forkserf.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.6 map scrolling turns off

zdechlak opened this issue · comments

map scrolling turns off after reading the message
also appears after building actions

Forkserf.2023-02-10.04-24-15.mp4

The problem disappears when I use zoom

it seems that this error occurs when the zoom is in a position other than the maximum zoom out

image
then the error does not appear

image
the error appears all the time on this zoom setting

Forkserf.2023-02-10.04-55-13.mp4

I think I have found the cause of this. The logic that determines what is in scope (which object being clicked on) is not scaling with zoom, so the more zoomed you are the more likely it will occur. This happens when clicking in the right or lower part of the screen, but should resolve itself if you click on the upper/left parts of the screen.

I am reworking the entire zoom code now to separate UI zoom from game viewport zoom, so this should be solved as part of that rework

new zoom is working now, it should make debugging popup/drag issues simpler also

this issue should now be fixed in v0.6.1