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 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]

LEAVE A REPLY

Please enter your comment!
Please enter your name here