Hi, i just tried using TiledMapPlus (using the latest dev branch of Slick). I had a for loop which get the object group count and the object count in that group and then prints the objectname for each object it finds. Using TiledMap worked fine with this, but TiledMapPlus doesn't seem to be able to read the name (it doesn't print the names of the objects).
Code:
public void objectList() {
for (i = 0; i < map.getObjectGroupCount(); i++) {
for (j = 0; j < map.getObjectCount(i); j++) {
System.out.println("i: " + i + " name: " + map.getObjectName(i, j));
}
}
}
CONSOLE OUTPUT:
i: 0 name:
i: 0 name:
i: 0 name:
i: 0 name:
i: 0 name:
i: 0 name:
i: 0 name:
I didn't know if i should post this in the bug section or not, because i'm not sure if its an error i've made or if it is actually a bug.
Any help would be greatly appreciated.