Possible fix for the left facing sprite
Opened this issue · 1 comments
EzTargetUK commented
In gameBadge.c the following lines need changing to fix the issue with the left facing sprite.
if (mirror == -1) { //If mirror draw sprites from right to left
bitmap += xSize - 1;
}
and
if (mirror == -1) { //Since mirrored = going backwards in memory we have to skip 2 row widths to get to the right-hand start of the next one
bitmap += (xSize * 2);
}
At least this is what worked on the Pico that I'm using instead of the MCP that your using.
benheck commented
Yup, found that after making the video but I'll double check you fix
against mine.
Thanks!
…On Tue, Oct 12, 2021, 9:20 AM Steven Harrison ***@***.***> wrote:
In gameBadge.c the following lines need changing to fix the issue with the
left facing sprite.
if (mirror == -1) { //If mirror draw sprites from right to left
bitmap += xSize - 1;
}
and
if (mirror == -1) { //Since mirrored = going backwards in memory we have
to skip 2 row widths to get to the right-hand start of the next one
bitmap += (xSize * 2);
}
At least this is what worked on the Pico that I'm using instead of the MCP
that your using.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMEESKCJUIQTRPBDMHQZPLUGQ73ZANCNFSM5F2WMTFA>
.