
03-24-2002, 02:59 AM
|
|
Scripter
|
Join Date: Nov 2001
Location: Brazil
Posts: 374
|
|
Quote:
Originally posted by thrashsoul
But what if you want it to go really fast
|
this.a=(this.a+.1)%6.2;
This " .1 " is the speed..
Quote:
here and next time post in scripting
if (playerenters) timeout=.05;
if (timeout) {
this.angle=(this.angle+.1)%6.28;
showimg 0.aball.gif,x+6*sin(this.angle),y+6*cos(this.angle );
timeout=.05;
}
|
timeout=.05;
if (timeout) {
this.angle=(this.angle+.1)%6.28;
showimg 0,aball.gif,x+6*sin(this.angle),y+6*cos(this.angle ); } |
|
|
|