Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up[bug] offset + custom screen coordinates #439
Comments
This comment has been minimized.
This comment has been minimized.
|
Is this on the master branch or devel?
…On Sun, Jul 22, 2018, 16:40 Andrey Lesnikov ***@***.***> wrote:
Offset moves image to a strange position when used with custom [-1..+1]
coordinate system
Demo repository with two binaries:
https://github.com/ozkriff/ggez_scale_offest_bug_demo
<https://raw.githubusercontent.com/ozkriff/ggez_scale_offest_bug_demo/master/demo.png>
^ These test apps are supposed to give similar results, but in
absolute_coords image's offset moves in to a strange position - towards
the edge of the screen.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#439>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABRfXYBM5dd7BpE3Csc2ziNFiLjoLN2Pks5uJOM5gaJpZM4VaI4q>
.
|
This comment has been minimized.
This comment has been minimized.
|
0.4.3 UPD: misclicked close button |
ozkriff
closed this
Jul 22, 2018
ozkriff
reopened this
Jul 22, 2018
This comment has been minimized.
This comment has been minimized.
|
Well, crap. |
icefoxen
added
bug
Type-CODE
labels
Jul 24, 2018
This comment has been minimized.
This comment has been minimized.
|
How is
yet the Code for reference: ggez/src/graphics/drawparam.rs Line 78 in 98c37ba Making the second example match the first (a fixed offset that affects the translation) is as simple as removing the ggez/src/graphics/drawparam.rs Line 54 in 98c37ba to
because in the code, |
This comment has been minimized.
This comment has been minimized.
|
The bug is still there in |
ozkriff commentedJul 22, 2018
•
edited
Offset moves image to a strange position when used with custom [-1..+1] coordinate system
Demo repository with two binaries: https://github.com/ozkriff/ggez_scale_offest_bug_demo
^ These test apps are supposed to give similar results, but in
absolute_coordsimage's offset moves it to a strange position - towards the edge of the screen.(maybe this issue is related to #435)
UPD: Results in this for Zemeroth: