开发者

FlashPunk: How to get that classic Jaggy Edge on Rotated Sprites?

开发者 https://www.devze.com 2023-02-13 16:07 出处:网络
It seems like even if you set an Image object\'s smooth property to false, it doesn\'t make the Bitmap look jaggy on non-90-degree angles (jaggy = aliased, opposite of a smooth edges = anti-aliased).

It seems like even if you set an Image object's smooth property to false, it doesn't make the Bitmap look jaggy on non-90-degree angles (jaggy = aliased, opposite of a smooth edges = anti-aliased).

Is there any way to achieve this? Or do I have to construct the rotation-spritesheet by hand and interpret the "angles to sprite index开发者_JS百科" calculations myself?


Does

stage.quality = StageQuality.MEDIUM;

or

stage.quality = StageQuality.LOW;

do what your want? I haven't used this in a very long time, but tweaking quality is an old-school way to improve performance during certain situations.

0

精彩评论

暂无评论...
验证码 换一张
取 消