article thumbnail

[Tutorial]Outer Stroke Effect for 2D Sprites

Cocos

Original: [link] Author: BitByBit Outer Stroke Effect for 2D Sprites Continuing from the previous article Inner Stroke Effect for 2D Sprites Introduction In the last article, we introduced the method of inner stroke and also discussed its pros and cons. aExtend is the expanded Alpha. Here, we take the opposite approach.

Sprite 52
article thumbnail

png image distortion on iOS 17

Cocos

Portions of the image are getting highlighted where alpha is less than 1 but not 0. The sprite boundaries (where alpha is less than 1 but not 0) shows white patches on the screen unlike the earlier versions of iOS. is there any fix for this? slackmoehrle

Alpha 52
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

png image distortion on iOS 17

Cocos

Portions of the image are getting highlighted where alpha is less than 1 but not 0. The sprite boundaries (where alpha is less than 1 but not 0) shows white patches on the screen unlike the earlier versions of iOS. is there any fix for this? slackmoehrle

Alpha 52
article thumbnail

"Fix alpha transparency artifacts" does not work for moving sprites

Cocos

According to docs turning on this option should resolve the issue of dark artifacts appearing close to the border of transparent images but I’m seeing this exact issue in my game even though this option is turned on.

Alpha 40
article thumbnail

"Fix alpha transparency artifacts" does not work for moving sprites

Cocos

According to docs turning on this option should resolve the issue of dark artifacts appearing close to the border of transparent images but I’m seeing this exact issue in my game even though this option is turned on.

Alpha 40
article thumbnail

"Fix alpha transparency artifacts" does not work for moving sprites

Cocos

Thank you for the quick response. Wrap mode was already set to ‘Clamp’ so that wasn’t the issue. But I tried changing the Filter Mode from ‘Bilinear’ mode to other options and the problem disappears! So it seems like this issue only happens when the filter mode is set to ‘Bilinear’ and the other options do not have this problem.

Alpha 40
article thumbnail

"Fix alpha transparency artifacts" does not work for moving sprites

Cocos

According to docs turning on this option should resolve the issue of dark artifacts appearing close to the border of transparent images but I’m seeing this exact issue in my game even though this option is turned on.

Alpha 40