
11-21-2011, 08:33 AM
|
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
Quote:
Originally Posted by ffcmike
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.
|
Here ya go, should be fixed!
Edit: Oops, I uploaded a bugged version! I accidentally broke some of the parsing so here's a new fixed one that SHOULD work! |
Last edited by DustyPorViva; 11-21-2011 at 08:55 AM..
|
|
|