Hello Guest

Author Topic: Wrong scaling and artifacts of sprites and text meshes  (Read 4091 times)

Roundabout1776

  • Newbie
  • *
  • Posts: 6
    • View Profile
Wrong scaling and artifacts of sprites and text meshes
« on: March 07, 2014, 08:31:20 pm »
Well, thanks for such great asset. Definitely it is best 2D solution.
However i've got problem with my game.

Here it looks perfect, cause it's on native resolution which is 1280x720, 1280x800 is also fine.
Even 1920x1080 is fine, but it gets shitty when it's scales to weird(but existing) resolutions like 1366x768

Pretty bad, isn't it?
So, here http://puu.sh/7myBH.png is most of settings, most of them is default, however.
Is there any way to make that sprites and text meshes look good on all resolutions?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Wrong scaling and artifacts of sprites and text meshes
« Reply #1 on: March 08, 2014, 01:44:22 pm »
You're scaling up by small amounts, which is going to result in some pixel doubling here and there. If you want pixel perfect graphics, then you will have to make it pixel perfect all the time, i.e. by using a tk2dCamera override to make it pixel perfect rather than fit width, or any other scale method. The only point you want to scale is when you're scaling exactly 2x or 4x.

Roundabout1776

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Wrong scaling and artifacts of sprites and text meshes
« Reply #2 on: March 09, 2014, 10:04:11 pm »
Well, i'm going to use "Closest multiplier of two". Thanks for answer, i think it is solved.