OK I can see from the 16, 16 at the start that the output is compatible with the Sprites library. However as the actual data below each 16x16 images is only 64 bytes, there is no mask information embedded in the array.
I do not believe any of the online tools generate image data for the Sprites::drawPlusMask() method. When I have used this function, I have created the data by hand - mixing the image and mask data one byte after another.
Can you change you code to use Sprites::drawOverwrite() or Sprites::drawSelfMasked() instead of Sprites::drawPlusMask().
Excuse the double post but I was skimming through the code and noticedā¦
It probably isnāt causing the drawing issue, but = is the assignment operator, not the equality comparison operator.
That means instead of testing if direction is equal to 0 or 1, youāre actually assigning them, so the cases where direction = 0 is present will never actually be triggered.
To test for equality you need to use == instead.
E.g. if((direction == 0) && (ground >= 1))
I think they had more than one converter, one did normal Sprites conversion and one did sprites plus mask conversion.
(But my memory isnāt the best, so I might have imagined it.)
Retirement rather than demise, though itās very much reality.
Even their website is gone now. What remains is forks and copies of their code.
Back on topic, Iām beginning to lean towards āthe drawPlusMask bug is backā.
But I canāt really confirm that without code thatās actually in a compileable state and can thus be probedā¦
Okay, that solves the frame part and the mirroring part, but that doesnāt fix the bottom half.
Except that itās clear the images are not corrupted.
I am not sure what you mean as it appears to work fine.
This will be a lot easier of you simply tells us what you think is wrong with the code, what you have done to test it and publish working, compileable code.
This is getting weird. In your GIF the sprite looks like itās working great but with the mirrored version rendered behind it.
Would you mind explaining what the ābā is about?