Fast RotSprite - simple rotation for pixel art in runtime.
At first you should realize that pixel art rotation is not a trivial operation. There are no "true" deterministic algorithms.
Different algorithms produce different results, but in most cases manual correction is required.
Basically there is RotSprite method suggested by Xenowhirl. The main idea is to upscale an image before rotating. And then to apply "guessing" pixel patterns to fix the resulting image.
Unfortunately, there is no public specification provided by Xenowhirl. His description may be interpreted ambiguously and requires some "voodoo dancing".
Also it should be taken into account that Xenowhirl has developed RotSprite to rotate sprites to 45 degrees for his game. RotSprite performance was no matter.
Thus there was a need in fast and efficient rotation algorithm with the following features:
● it should work fast even on mobile devices (in runtime without FPS drop)
● it should work with large images (taken into account that x3/x8 upscaling is used)
● some quality loss is acceptable (compared to RotSprite)
● We don't accept refund requests as the Asset Store can't guarantee that asset access will be
cancelled and the asset copy will be deleted from user PC. Thanks for understanding.
● Discord - questions, live chat with developers
It would be super awesome if you rate ★★★★★ our asset and leave your feedback! Your reviews inspire us for creating and improving our assets. Thanks and good luck with your projects!
This website is a participant in the Unity Affiliate Program, an affiliate advertising program that allows participants to earn commissions by advertising and linking to Unity properties, which means we may receive a commission if you click a link and purchase something that our website have recommended.Clicking these links does not cost extra.
This website is not a corporate affiliate or subsidiary of Unity and this site is not endorsed by Unity. “Unity” is a trademark or registered trademark of Unity Technologies or its affiliates in the U.S. (Unity®) and other countries. (or such other notice as separately indicated by Unity)