I am making a top-down game in LibGDX and I'm using Tiled for making levels. It worked nice until now. Now I have to do collision...I know how to detect
collision, but I'm not sure about the correction/resolution part. I tried to check if the player's colliding after he moves and then move him back, and it worked well except for the corners. Sometimes in the corners the player would get into the wall and then get pushed out...Can someone help me about the algorithm? And is it worth using Box2D for these stuff?
Thanks,
MatejaS