Thread: Help plzz
View Single Post
  #7  
Old 07-01-2002, 01:13 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Well something simple like this shouldn't require much thought. You wanna take a value (.4) and make it into 0 gradually. lets think now. How can we do this with the for operative? I know we can start out at .4 and then subtract .04 while it is greater than or equal to 0!!
for(this.i=.4;this.i>=0;this.i-=0.04)


now you have this.i moving down .04 every time it loops... figure out the rest.
__________________

subliminal message: 1+1=3
Reply With Quote