Rota is a native library of image rotation and palette manipulation.
It has the following functions.
- pixirota(dest_img,dest_width,dest_height,src_img,src_width,src_height,angle)
Copies the image rotated to the specified angle.
- rnd(range)
Returns a random number between 0 and the range provided-1.
- palette_set(palette_array,kind)
Sets the palette array of the specified platform.
- palette_change(src_image,length,to_palette_array,from_palette_array)
Changes the color of the image with palette arrays.
- palette_copy(dest_palette_array,src_palette_array)
Copies the palette array.
Examples
Palette animation
Image rotation and palette animation
Image rotation
The library of image rotation and palette manipulation
The library of image rotation and palette manipulation
- Attachments
-
- rota.zip
- (48 KiB) Downloaded 256 times