Assign a single value to edge_limit so that the viewport stays centered on a single tile:
edge_limit = "31,31"
Now read view_x or view_y. It will return that the bottom left corner of the client's viewport is at the bottom-left corner of tile 31,31 rather than where the bottom-left corner of the viewport actually is in the world.
For edge limits too small to fully enclose the screen, this is always the case. The client.bounds proc is taking the edge limit into account incorrectly and presuming that the bottom-left corner will always be at the bottom-left corner of the viewport, when this is not in fact always the case.
ID:2089755
May 26 2016, 12:02 pm
|
|||||||||||||
Resolved
| |||||||||||||