for(temp.i = 0; temp.i < 255; temp.i ++) { showimg(200, "light2.png", x, y); temp.color = colorcycle(i); changeimgcolors(200, temp.color[0], temp.color[1], temp.color[2], 0.99); sleep(0.05); }