Show differencesHistory of post edits
#Actualalvaro
Posted 19 March 2012 - 08:36 PM
Creating your own rotation code is not that hard: First, rotate the rectangle that contains the sprite and learn how rasterize it (loop over scan lines). Then learn how to look up a pixel in the original sprite, applying the inverse of the rotation. If you implement this in a low-level language (e.g., C or C++), it should be pretty fast.
#1alvaro
Posted 19 March 2012 - 08:35 PM
Creating your own rotation code is not that hard: First, rotate the rectangle that contains the sprite and learn how to convert it to a list of pixels. Then learn how to look up a pixel in the original sprite, applying the inverse of the rotation. If you implement this in a low-level language (e.g., C or C++), it should be pretty fast.