Thank you for replying. I wanted it to look like a retro game. Also, I had implemented a mechanic where you can loop laterally if you are out of the screen.