Quote:
|
Originally Posted by Loriel
Seconded.
rofl. Splitting a gui in multiple parts (aka decoupling?) is a Good Thing.
|
deff not , its much easier to to script as 1, and the code is a lot cleaner
this.w = {50,110,170};
this.h = {80,140,,200};
for(img=0;img<3;img++){
showimg 201,img1.png,x,y;
changeimgvis 201,4;
changeimgpart 201,0,0,this.w[img],this.y[img];
}
is a lot cleaner than
showimg 201,img1.png,x,y;
changeimgvis 201,4;
showimg 201,img2.png,x,y;
changeimgvis 201,4;
showimg 201,img3.png,x,y;
changeimgvis 201,4;
Hence the state.png!