View Single Post
  #1  
Old 06-18-2007, 09:05 PM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Particle Attempt :D

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
with (findimg(200)) {
    
layer = 1;
    
x = player.x;
    
y = player.y;
    
    
emitter.delaymin = 1;
    
emitter.delaymax = 1;
    
emitter.nrofparticles = 1;
    
emitter.maxparticles = 1;
    
emitter.autorotation = true;
    
emitter.emitautomatically = true;
    
    
emitter.particle.lifetime = 10;
    
emitter.particle.image = "block.png";
    
emitter.particle.spin = 10;
    
emitter.particle.speed = 0;
    
    
emitter.emit();
  }
} 
I've been trying to learn something about particles, but I can't even get it to spin! :P Even with the spin variable. What could I be doing wrong? :o
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote