make the last part of the toe background less extreme

This commit is contained in:
laochailan 2018-01-13 18:19:33 +01:00
parent 327c998b68
commit 7d3d2a153d
No known key found for this signature in database
GPG key ID: 49BE98017AFBC943

View file

@ -2565,10 +2565,9 @@ void elly_spellbg_toe(Boss *b, int t) {
break;
glColor4f(1,1,1,0.5*clamp((t-delays[i])*0.1,0,1));
char *texname = strfmt("stage6/toelagrangian/%d",i);
float wobble = max(0,t-BREAKTIME)*0.09;
float wobble = max(0,t-BREAKTIME)*0.03;
glPushMatrix();
glTranslatef(VIEWPORT_W/2+positions[i][0]+cos(wobble+i)*wobble,VIEWPORT_H/2-150+positions[i][1]+sin(i+wobble)*wobble,0);
glRotatef(wobble*5,0,0,1);
draw_texture(0,0,texname);
free(texname);
glPopMatrix();