Quote:
Originally posted by TLG_WL_mechman
Woah... o.0 I got hipnotized for maybe 15 minutes on the two first versions of the level 0.o
I'm a bad scripter, in fAct my knowledge in scripting does not go further than those showimg andd things newasy..
Whats this.angle for? I know its for angle, but since graal can't rotate images (it maybe can, no scripter ever tryed that on graal)
I don'T understand what angle could be for? its for rotating around a point???? liek a clokc?
|
this.angle is a radian (i believe) in the script, radians are used for a few things in scripts but mostly for things that require an angle, such as shoot
NPC Code:
if(weaponfired){
for(i=0;i<6.28;i+=.05){
shoot playerx,playery,0,i,0,0,hatnpc,1;
}
}
is an example of how a radians could be used