Thread: Color Cycle
View Single Post
  #2  
Old 05-14-2008, 08:29 AM
Robin Robin is offline
The secret of NIMH
Robin's Avatar
Join Date: Apr 2005
Location: Wales, UK
Posts: 515
Robin will become famous soon enough
Send a message via AIM to Robin
PHP Code:
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);
} 
So it's not calling your function 765 times :P
__________________

Reply With Quote