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. Dismiss Notice

How to make smooth infinite movement of gameobjects having sprites?

Discussion in 'Editor & General Support' started by jolly17ify, May 21, 2014.

  1. jolly17ify

    jolly17ify

    Joined:
    May 21, 2014
    Posts:
    1
    Hey, I want to make smooth infinite movement in a 2D game.
    Details: I m working on a 2D game in which the sprites are moving downwards. I have used pooling i.e. the last gameobject is changing the position when it is not rendered by the Camera. The issue is that when it changes its position it is not smooth and background seems to be vibrating on movement. I have already tried out Lerp and transform.Translate but the movement is not smooth. Please suggest any other method(s).


    It is similar to the gameplay of Piano Tiles.

    Please help me out.

    THANKS a lot in ADVANCE...:)
     
  2. Lomardii

    Lomardii

    Joined:
    Dec 17, 2013
    Posts:
    35
  3. TrialByFun

    TrialByFun

    Joined:
    Jun 23, 2009
    Posts:
    97
    How strange! I've done something like this recently without problem ( so I don't think there's an engine issue )
    Have you got any sample code?, might be able to spot the problem that way.:)