Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How do you rotate a sprite?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
sarm2005




PostPosted: Mon Mar 10, 2008 5:01 pm   Post subject: How do you rotate a sprite?

Title says it all.
Sponsor
Sponsor
Sponsor
sponsor
Sean




PostPosted: Mon Mar 10, 2008 5:18 pm   Post subject: Re: How do you rotate a sprite?

Since I am guessing you are using a picture, look into Pic.Rotate
sarm2005




PostPosted: Mon Mar 10, 2008 5:40 pm   Post subject: Re: How do you rotate a sprite?

I've already converted the pictures into sprites to make it easier to move them. So how do you rotate the sprites.
Sean




PostPosted: Mon Mar 10, 2008 5:45 pm   Post subject: Re: How do you rotate a sprite?

They are still pictures, you just made the moveable, Pic.Rotate is the way to go.
sarm2005




PostPosted: Mon Mar 10, 2008 6:04 pm   Post subject: Re: How do you rotate a sprite?

I've already made them into sprites with Sprite.New and would like to rotate these sprites rather than Pic.Rotate and creating a new sprite.
Sean




PostPosted: Mon Mar 10, 2008 6:57 pm   Post subject: Re: How do you rotate a sprite?

You can't rotate the sprite on its own. You must use Pic.Rotate and redraw it. Sorry, thats the only way I know how to do it, unless Tony knows of another way.
sarm2005




PostPosted: Mon Mar 10, 2008 7:39 pm   Post subject: Re: How do you rotate a sprite?

Ok, thanks. Guess that's the only way to go.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: