Drawrotated will not allow me to draw with an X below 0

local spritesheet -- a tilemap, assume I loaded an image here
local Frame = 0
local GridSize = 24

function pd.update()
spritesheet:getImage(1):drawRotated(Frame, GridSize, -90)
Frame = (Frame + 1) % 50

It cuts the image off, but cuts off the visible side instead of the invisible side


I think this is the same issue as described here: DrawRotatedBitmap rendering error when rendering out of bounds at specific angles.

1 Like

That looks like it is the same issue