Home Game Development Calling setScale() on sprite loses decision – C++

Calling setScale() on sprite loses decision – C++

0
Calling setScale() on sprite loses decision – C++

[ad_1]

Hi, I’ve some pictures (helmets and different pictures) that I place in numerous areas, and I steadily must scale them down. However, once I accomplish that, they don’t look almost 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 if you happen to simply scale it in Paint Program. then use it with out scaling.

You may have a look at the settings of the AppDelegate.cpp
see if that kinds it out have a look at the stencil & multisamplesCount

// set OpenGL context attributes: crimson,inexperienced,blue,alpha,depth,stencil,multisamplesCount
GLContextAttrs glContextAttrs = {8, 8, 8, 8, 24, 8, 0};

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here