Now I finally figured out how to get this to work it is quite excellent.
One problem I noticed though is that having 2 different lines of setimgpart within the same script causes it to break.
In this case I had a setimgpart both Clientside in GS1 and serverside in GS2:
PHP Code:
function onCreated(){
this.setimgpart("classic_levelitem_roof_church.png", 64, 0, 128, 48);
}
//#CLIENTSIDE
if(created){
setimgpart classic_levelitem_roof_church.png, 64, 0, 128, 48;
}
One improvement that would be great to have is the ability to assign image names to detectable joined classes.