Scripter-defined classes in Graal would be so good...
NPC Code:
class star(){
var starx;
var stary;
var size;
function draw(){
showimg i,star.png,me.starx,me.stary;
}
}
if(created){
starcount=10;
setarray2 mystars,star,starcount;
}
if(timeout){
timeout=0.05;
for(i=0;i!=starcount;i++){
mystars[i].draw();
}
}
So beautiful...