LibGDX - Tiled Map Collision

Hey, guys! Solved a problem, landed right into another one and am pulling my metaphorical hair out.

Once again, I used dermetfan’s video on Tiled Map collision as reference, here: https://www.youtube.com/watch?v=TLZbC9brH1c

However, my player isn’t colliding with my tiled map, and I believe I’ve checked most of my code for any case-sensitivity issues, misspelling, etc. The only thing I can think of now is my logic. Would someone be willing to double-check me?

Here’s my code: http://pastebin.java-gaming.org/5969277862d1c

Thanks for putting up with me while I’m learning. =]

On line 30 you have setY(…); then on line 34 you assign oldY to your y value, after you already moved the player. Try putting oldY before you do any movement, otherwise oldY is just your current Y value.

That did it. Pretty simple fix, too.

You are awesome!