I made an Infinite Jump Game with mouse controls. (Move your mouse to move the player left or right, instead of using arrow keys)
The mouse controls work well but when the player goes to the edge of the layout the game freezes and the player flickers. Usually when you play with just the arrow controls active the player would go (wrap) from one side to the next, which is great for gameplay.
Any ideas on how to keep both Mouse and arrow controls in a way that makes the player wrap from side to side and not glitch? :)