Skip to content
pvtcupcakes edited this page Sep 14, 2010 · 5 revisions

Put a file called testmap.txt into jblux-client/dist and put the name of the map you want to test into it.

To “install” the map. Create a folder in jblux-client/res/maps with the name of the map. In that folder put the .tmx, .tsx, and the tileset .png, and black and white walk map.

Each file should be have the same name as the file and then followed by the file extension. The black and white map should be the name followed by bw and then the extension.

Example structure:
folder – mymap/
tmx – mymap.tmx
tsx – mymap.tsx
tileset – mymap.png
walk map – mymapbw.png

Make sure the .tsx file is right. Open it with a text editor and make sure the tag looks like this:
image source=“mymap.png” trans=“000000”/

The source part should not look like this source=“../../Pictures/jblux/mymap.png”
If it looks like that, it won’t work.

After all this, recompile jblux-client. The maps are built into the .jar file.

Clone this wiki locally