Original Post
I''ve been having trouble with letting my character move smoothly across a tile based map, as the player must belong to a certain tile at any one time, so when he changes direction in between tiles it creates all sorts of problems during collision detection.
I''ve tried several things like everytime before he stops or changes direction the program automatically places him in the centre by continually moving him and checking whether he''s in the center using mod(), but the result is a non-intuitive movement where he seems to jump tiles and jerk about.
