playdate.graphics.image:drawFaded needs [flip] parameter

most of the other image:draw functions can draw flipped except drawFaded

I will make do with playdate.graphics.image:fadedImage(alpha, ditherType):draw() in the meantime

Good catch. Unless there's some technical reason I'm not aware of, we should be able to add this. Thanks!

1 Like

For anyone else, this is the code I went with:

image:fadedImage(  alpha , ditherType):draw(x, y, flipped) -- where image is from either
-- playdate.graphics.image.new(filename) or
-- playdate.graphics.imagetable.new(filename):getImage( image ID )

The only problem is I can't find anything showing the differences in dithering types, only that you can't use the ones named after people (kDitherTypeFloydSteinberg, kDitherTypeBurkes, DitherTypeAtkinson) and none is probably useless.

kDitherTypeDiagonalLine, kDitherTypeVerticalLine, kDitherTypeHorizontalLine are self-explanatory

kDitherTypeScreen, kDitherTypeBayer2x2, kDitherTypeBayer4x4, kDitherTypeBayer8x8 are not

I will try to get pictures later, once I get everything working