Post your light effects:
NPC Code:
// NPC made by VT
if (created) {
timeout=.05;
this.angle=.1;
drawoverplayer;
}
if(timeout){
timeout = .05;
this.angle+=.2;
for(j=0;j<50;j++){
showimg j-2,light2.png,x+cos(this.angle),y+4*sin(this.angle) ;
changeimgcolors j-2,.1,.5,.1,.9;
changeimgzoom j-2,.4;
showimg j-3,light2.png,x-cos(this.angle/j),y-5*sin(this.angle);
changeimgcolors j-3,.5,.5,.1,.9;
changeimgzoom j-3,.4;
showimg j-4,light2.png,x-4*cos(1/2*this.angle/2*j),y-5*sin(this-angle);
changeimgcolors j-4,.5,.1,.1,.9;
changeimgzoom j-4,.1;
}
x+=3*cos(this.angle);
y+=.5*sin(this.angle);
}
/*original stuff which is now unused
showimg j-1,light2.png,x+4*cos(this.angle),y+sin(this.angle) ;
changeimgcolors j-1,.5,.1,.2,.9;
changeimgzoom j-1,.1;
/*
Have fun with them.