transparency
Posted: Wed Nov 15, 2006 11:59 pm
I am trying to make the view fade in and out so that the MoveTo command seems less jerky. I tried this code:
But it just freezes game editor in an endless loop.(endw never equals 2)
Any ideas on how to fix this?
- Code: Select all
int endw=1;
while(endw==1){
view.transp-=.01;
if(view.transp==0){
endw=2;
}
}
But it just freezes game editor in an endless loop.(endw never equals 2)
Any ideas on how to fix this?