Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Pixel game not working at different monitors resolutiong properly (jittering) (build test)

Discussion in '2D' started by luiks, Jul 14, 2020.

  1. luiks

    luiks

    Joined:
    Aug 23, 2017
    Posts:
    15
    Hello, I hope you can help me, dear unity developers. I am struggling in trying to fix jittering problems with my pixel game. I build it 2 days ago (everything was fine in game mode) and then I detect a jittering problem. I tried to fix it with too many tools, finally, I decided to make a video for you to see what happened, so I download Loom software to make de video, starts recording and eureka! it fixes it magically, then I probe the game on my wife's laptop and work just fine. So, the problem was not with the game, but something happens when it works at different resolutions or laptops (I don't really know). The thing is when I stop using loom (recording software) the problem starts again (the same build), and when its open everything works fine (in my wife's computer it always work). What can I do to make it work fine on any laptop? Any idea? I spend like two days trying to fix it, no success of course (is not like I am going to say every one to install loom).
     
  2. luiks

    luiks

    Joined:
    Aug 23, 2017
    Posts:
    15
    So my game works wonderful in 1366x768 monitor, that is a fact. But it jitters or shimmer or warp when I tested in 1920x1080 monitor resolution. In 1366x768 it works perfectly even if I change the orthographic size dramatically, so all the tutorials about this, does not really make sense for me.
     
  3. Raial

    Raial

    Joined:
    May 2, 2017
    Posts:
    24
    How are you moving your world/character?
    It sounds like you're not using Time.deltaTime for moving the character.
    If you use a Rigidbody2D, try enabling interpolation.

    It has to be a matter of how you're moving the character or the world.
     
  4. luiks

    luiks

    Joined:
    Aug 23, 2017
    Posts:
    15
    I will have a look on the script, I am actually using Corgi Engine (i guess he is using time.deltaTime). I will have a look. On the other hand, I manage to eliminate de jittering on 1920x1080 (but is still present on 1366x768) by changing the quality settings of the project.
    Thanks for your help!
     
  5. Raial

    Raial

    Joined:
    May 2, 2017
    Posts:
    24
    I really doubt Corgi Engine has something wrong.
    Read the plugin documentation carefully and sure you'll avoid these problems.
     
  6. luiks

    luiks

    Joined:
    Aug 23, 2017
    Posts:
    15
    Yes, I doubt it too. I think that is not the problem. I guess is just pixel-perfect 2D that it does not work. I really don't know what is.