~rabbits/uxn

Whole auto sprite flipping

Details
Message ID
<CAE2DaSQQMb8XVfsn2NSsXQO+-0m2t4U2GD7nYD3GBUO4GPeTxQ@mail.gmail.com>
DKIM signature
missing
Download raw message
Hello everyone :)

I've implemented a little change to Varvara based on Nettie's
excellent suggestion that the auto byte should also flip the direction
that the auto byte is drawing the sprite, and not only the sprite
data. It's an obvious choice when you think about it, it makes
flipping large images much easier. And the change doesn't add any
extra line, it's just a matter of using the 0x10 and 0x20 bits to
choose if you're adding or subtracting to the dx value.

Implementation:
https://git.sr.ht/~rabbits/uxn/commit/b4d781863297d2369a9021a9365e1ac9eabde55b

Test file: https://git.sr.ht/~rabbits/uxn11/tree/main/item/etc/pict.tal

What to expect:
https://assets.merveilles.town/media_attachments/files/110/832/807/628/074/879/original/cc91124378ee991d.jpg

Let me know if you've got any question :)
Have a good one!
Reply to thread Export thread (mbox)