OpenDreamProject / OpenDream

A project for running games made in the DM programming language
MIT License
208 stars 112 forks source link

[RT] Camera is off by half a tile on both axes #453

Closed ike709 closed 3 years ago

ike709 commented 3 years ago

image

There are 6.5 tiles of view above my character and 7.5 tiles below when it could be 7 and 7. Same for the horizontal: 7.5 on the left vs 6.5 on the right.

ike709 commented 3 years ago

My half-asleep guesses are ScalingViewport's ScreenToMap() being off, one of the methods that calls being off, the Transform component being wrong somehow, or an RT bug with EyeManager.

ike709 commented 3 years ago

Confirmed non-issue in SS14

wixoaGit commented 3 years ago

Fixed by fa6e275d5acde9013239a5bf44e028bbadec2300