UEG_Productions
Member
I have text that cycles through colors
Whenever the text loops through the colors, it stops at red. I am not sure why it does this.
This is the code for the wave and rainbow effect:
I would appreciate any help!
Whenever the text loops through the colors, it stops at red. I am not sure why it does this.
This is the code for the wave and rainbow effect:
GML:
case 4: //wave AND colour shift
var so = t + cc;
var shift = sin(so*pi*freq/room_speed)*amplitude;
var c1 = make_colour_hsv(t+cc, 255, 255);
var c2 = make_colour_hsv(t+cc+45, 255, 255);
draw_text_color(xx + (cx*charSize), yy+(cy*stringHeight)+shift, letter, c1, c1, c2, c2, 1);
break;