View Single Post
  #25  
Old 07-31-2006, 11:15 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
PHP Code:
function onTimeout() {
  
drawunderplayer();
  
this.boatX 1.5;
  
this.boatY 2;
  
this.boatW getimgwidth("niromia_playerboat.gif")/16;
  
this.boatH getimgheight("niromia_playerboat.gif")/16;
  
roatation this.angle;
  
with (findimg(455)) {
  
stretchx 0.5;
  
stretchy 0.5;
    
thiso.boatX thiso.boatW[0]/2;
    
thiso.boatY thiso.boatH[0]/2
    
image "niromia_playerboat.gif";
    
layer 0;
  }
  
setTimer(0.05);

I made it so rotation equals this.angle. but it moves now just in the right direction, I messed and toyed with it and no luck _-_ I dont understand radicals and radtodeg doesnt help me
__________________
Deep into the Darkness peering...
Reply With Quote