![Calling setScale() on sprite loses decision – C++ Calling setScale() on sprite loses decision – C++](https://thefuntrove.com/wp-content/uploads/https://discuss.cocos2d-x.org/uploads/default/original/3X/c/9/c9a024cd3656916ac85bb3a01034f8075bc8f827.png)
[ad_1]
Hi, I’ve some photographs (helmets and different photographs) that I place in numerous areas, and I often must scale them down. However, once I accomplish that, they don’t look practically as good. I don’t know if it’s antialiasing or one thing else.
Is setScale(x) (the place x < 1) one of the best strategy for making it smaller or is there one thing higher for retaining high quality?
thanks!
What occur when you simply scale it in Paint Program. then use it with out scaling.
You also can have a look at the settings of the AppDelegate.cpp
see if that types it out have a look at the stencil & multisamplesCount
// set OpenGL context attributes: pink,inexperienced,blue,alpha,depth,stencil,multisamplesCount
GLContextAttrs glContextAttrs = {8, 8, 8, 8, 24, 8, 0};
Thank you, I’ll look into that. Thanks very a lot!
[ad_2]