Not sure if this is an intended function so I just wanted to point out to others when making a TiledMap I init it like so:
Code:
map1 = new TiledMap("Resources/map1.tmx", "");
And it works properly with no absolute pathname.Also an absolute filename works for single parameter.
Code:
map1 = new TiledMap("G:/MagicLampShade/workspace/TheMagicLampshade/LampSource/Resources/map1.tmx");
But if no empty second parameter is given like so:
Code:
map1 = new TiledMap("Resources/map1.tmx");
I get this stacktrace(snippet):
Code:
Tue Jan 10 21:07:59 EST 2012 ERROR:Resource not found: Resources/G:/MagicLampShade/workspace/TheMagicLampshade/LampSource/Resources/myTileset.png
Wouldn't it make sense to adjust the single parameter TiledMap init so it worked essentialy like the second parameter was blank?