TinyCircuits / TinyCircuits-Thumby-Code-Editor

https://code.thumby.us/
GNU General Public License v3.0
30 stars 20 forks source link

Inconsistencies regarding axis mirroring #6

Closed Coolie2 closed 2 years ago

Coolie2 commented 3 years ago

In trying to reduce the significant amount of space graphics take up in my game, I was testing the new axis mirroring feature, and realized that it seems that sprites mirrored downwards seem to always be off by a pixel or two. The documentation also mentions the first variable affecting x-axis mirroring and the second variable affecting y-axis mirroring, but this seems to reversed, as the second variable is what mirrors such sprites across the x axis.

Coolie2 commented 3 years ago

The first issue also seems to affect the pixels at the bottom of the screen of large sprites flipped across the y-axis.

ghost commented 2 years ago

This should be fixed in the latest version of the Thumby API - take a look at https://github.com/TinyCircuits/tinycircuits.github.io/blob/master/testing/ThumbyAPI.md and test here https://tinycircuits.github.io/testing/