Sprite is deformed. Please teach solution.

Sprite is deformed.
In particular, it generates by a round image

The same image also becomes different deformed each time.

Sufficient margin is taken on texture atlas.
CCDirector::sharedDirector()->setProjection(kCCDirectorProjection2D); was also tried.

I am troubled.
Please help me. :frowning:


2dx.png (18.3 KB)

is your game in a lower screen resolution or you downscale your sprite somehow?

not use downscale :frowning:
screen resolution is “kResolutionShowAll”

setContentScaleFactor is “2.0f” and “1.0f”
It generates in all.

The attached 2dx.png is enlarged.

I think your sprite rect size is just a little smaller than the real sprite size. maybe around 1 - 2px.
Like for example your sprite is 64 x 64. but your sprite rect size is 62 x 62.

Or if not, You could just add around 2px space around your sprite using Photoshop or whatever image editing software you are using.