Jump to content

Text blur when setUserScale


little monkey
 Share

Recommended Posts

Text becomes blurry when they are placed in a subpixel (inbetween pixels), for example "8.4" instead of 8 or 9.

Let's say you want the text be 10% of the game wdith. When the game is resized to 800px 10% will be 80px which will be fine. However if the width is 794px the 10% will be 79.4px (and not 79 or 80px) making the text blur. You will need to force object positions rounded to whole pixels to avoid this.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...