Animates an indexed image by rotating a range of its palette entries (classic palette cycling).
imageHandle
Int
startIndex
Int
endIndex
Int
speed
Double
b2dCyclePalette(img, 16, 31, 18.0) ; forward
b2dCyclePalette(img2, 16, 31, -11.0) ; reverse