Thread: emitters
View Single Post
  #1  
Old 06-25-2006, 05:43 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
emitters

I've started working on a weather script, and I decided to use an emitter, to reduce lag. I've been reading the wiki, stefan's example, examples on here, and I can't figure out why this emitter isn't emitting:
PHP Code:
 with (findimg(200)) 
      {
        
emitter.emit();
        
layer=2;
        
emitter.delaymin .05;
        
emitter.delaymax .05;
        
emitter.nofparticles 20;
        
emitter.firstinfront false;
        
emitter.particle.lifetime 2;
        
emitter.particle.image "dr-rain2.png";
        
emitter.particle.mode 1;
        
emitter.particle.alpha .8;
        
emitter.particle.zoom random(.3,1);
        
emitter.particle.speed 10;
        
emitter.particle.checkbelowterrain true;
        
emitter.particle.movementvector=pi*.25;
        
player.x;
        
player.y;
      } 
If I don't ask, I don't learn, right?
Reply With Quote