Re: my two cents
Originally posted by Michaelthecat
If you do use code from other people, give some credit in a comment
If you credit really shit simple code like d=d+sin(d); then I will personally travel to wherever the hell you live and kick you in the nuts.
Give credit for:
q=(q+1)%4;
z1=-2*i;
x1=-off-3+(2+z1)*if(below(q%4,2),0.1,-0.1)+0.1*z1*sin(3.1*z1+1.2*wf);
y1=(2+z1)*if(below((q+1)%4,2),0.1,-0.1)+0.1*z1*cos(3.3*z1+2+wf)-t;
z1=z1+2;
x2=x1*crz-y1*srz;
y2=x1*srz+y1*crz;
x1=x2*cry+z1*sry;
z2=-x2*sry+z1*cry;
y1=y2*crx-z2*srx;
z1=y2*srx+z2*crx;
alpha=-0.1*z1+0.5;
z1=1/(2+z1*0.5);
x=x1*z1;
y=y1*z1;
x=x*asp;
red=alpha*abs(v);
green=alpha*abs(v);
blue=alpha;
Not for:
r=20*i*3.14159265358979;
d=sin(m*r)+v*0.5;
x=cos(t+r)*d*0.6; y=-sin(t+r)*d*0.6
Please. It does my head in when someone says something crap like: 'Thanks go out to r4nd0m_n00b for his excelent movement code', then the movement turns out to be x=0.