Thread: Rotating?
View Single Post
  #35  
Old 01-29-2008, 12:09 AM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
Sorry, i cant edit the last post, but i get what you mean by gani script, so how would i make it so the gani can turn in the script?
would i use
PHP Code:
GANI0001
SPRITE   20 utopia_car5
.gif    0    0   60  100 sprite

SINGLEDIRECTION
DEFAULTHEAD head19
.png
DEFAULTBODY body
.png

ANI
  20  
-3 -26
ANIEND
SCRIPT
function onCreated()
{
  
showimg( 1, "utopia_car5.gif", player.x, player.y ); 
  
findimg( 1 ).rotation = player.attr[5]; 
} 
__________________
I am the devil, I am here to do to devils work.
Reply With Quote