Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17103

Set node's position on integer screen coordinates

$
0
0

@j_jorge wrote:

When a cocos2d::Label has its bottom left corner on a non-integer coordinate, say (10.6, 9,2), then it appears blurry. I have tried to fix this by enabling 2D projection in the director and by disabling antialiasing on the label's texture, but it is still ugly.

As you can see on the attached image, the only way to have a nice text is to place it on integer coordinates. Otherwise it appears blurry if antialiasing is enabled or messed up if it is disabled. Note that these tests have been done with the 2D projection.

Is there a way to force a node to be displayed on integer coordinates?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>