mapLoader = new TmxMapLoader ();
map = mapLoader.load ( "saa.tmx" );
renderer = new OrthogonalTiledMapRenderer ( map );
My error is :
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.SerializationException: Error parsing file: saa.tmx
How to solve this problem?
It seems like libGDX can't find the file.
Gdx.files.internal("saa.tmx")or ratherGdx.files.internal("saa.tmx").path()