Try this code on pc and WIZ
SETSCREEN 320,240,0
CREATESCREEN 1,1,192,192
USESCREEN 1
DRAWRECT 0,0,192,192,RGB(255,255,255)
USESCREEN -1
LOCAL angle#
WHILE TRUE
DRAWRECT 100,30,192,192,RGB(255,0,0)
ROTOZOOMSPRITE 1,100,30,angle#,1.0
INC angle#
SHOWSCREEN
WEND
On pc it works fine - the white square rotates smoothly, with the centre being the same as the red square.
Try the same on WIZ and the white square has an unexpected orbit.
[EDIT] Went back to this one to ensure that it was the ROTOZOOMSPRITE that was causing the problem and not the CREATESCREEN/USESCREEN commands
SETSCREEN 320,240,0
DRAWRECT 0,0,192,192,RGB(255,255,255)
GRABSPRITE 1,0,0,192,192
LOCAL angle#
WHILE TRUE
DRAWRECT 100,30,192,192,RGB(255,0,0)
ROTOZOOMSPRITE 1,100,30,angle#,1.0
INC angle#
SHOWSCREEN
WEND
Again the pc version works as expected - this time though, the WIZ doesn't even show the white square.
Therefore, confirmed that there is a problem with ROTOZOOMSPRITE on WIZ.
Seems it's also true of ROTOSPRITE (I used it in a compltely different program though).
Bug 1: I used a power of 2 size for the bitmap. That was stupid.
Bug 2: is related to the transparent colour. Try PRINT before the GRABSPRITE and the text is partially there.
I'm into that.
Fixed in the next update?
Yes, I hope I can find it quickly.
Cheers Gernot :)