View Single Post
  #9  
Old 12-05-2001, 12:44 PM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Quote:
Originally posted by AlexH
if(playerenters) {
this.angle=0; //dont touch me
this.radius=3.2; //change this for radii higer number larger circle
this.speed=0.1; //how fast it moves
timeout=.05;
}
if(timeout) {
x=15+cos(this.angle)*this.radius; //change number for placement of x
y=5+sin(this.angle)*this.radius; //change number for placement of y
this.angle=this.angle+this.speed;
timeout=.05;
}

//Light Bit
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 0,1,0,0.5;
drawaslight;
}


and theres your cirlcing light effects
probally not the best or most efficent way to do them
but.............they work
thank you
Reply With Quote