Hi! Technically my first post here, though I’ve posted here under another name. I need some help with my code, and a second pair of eyes would probably help me solve this issue a bit faster.
What I’m trying to do is to get my player to collide with my map that I’ve designed in Tiled, following dermetfan’s Tiled Maps Tutorial -
https://www.youtube.com/watch?v=DOpqkaX9844].
I’ve come to a bit of a stumbling block, though:
http://pastebin.java-gaming.org/6115946892217
My program is NullPointer-ing out where it’s looking for the Width and the Height of the MetaLayer.
Would somebody tell me what I’m doing wrong? Am I insane?