It looks like AlterColors will work but I don't know how to implement it. I need to be able to draw the altered bitmap in the accelerated surface. Of course, I'm drawing a lot of rocks and so I would want to alter the colors somewhere else and then draw it ten hundred times. I'm getting the immutable error:
B4X:
sub begin
stone.InitializeMutable(128,128)
stone = LoadBitmap(File.DirAssets, "images/stoneshadow.png")
end sub
sub surfacedraw
ac.DrawBitmapWithMatrixAt(IU.AlterColors(stone,-1,355,1),(c*128-mx)*scale, (l*128-my)*scale, True)
end sub
I had not updated my AC library so it didn't work till I did. I see you got rid of drawrectrotated. What did you replace that with as I was using it extensively and it broke my sparks!