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

Username:   Password: 
 RegisterRegister   
 Animation Help!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
BrindaV




PostPosted: Mon Jun 13, 2011 5:35 pm   Post subject: Animation Help!

I am trying to make a character move on the screen (e.g. Megaman and Mario) from one side to the other. How, would I make it seem like they were walking, as opposed to just keeping them inanimate.

For more details, check out this program, that's not by me, and see how Megaman moves: http://www.sprites-inc.co.uk/forum/showthread.php?t=7809
Sponsor
Sponsor
Sponsor
sponsor
ProgrammingFun




PostPosted: Mon Jun 13, 2011 5:39 pm   Post subject: RE:Animation Help!

You would have 2 images in which the character's limbs are in different positions (2 more if the character can go in to opposite direction). Every time the player prompts the character to move, you would move the location of the images overall and would continuously switch between the two images, using offscreeonly to eliminate flickering.

If that is too broad, don't hesitate to ask more questions.
BrindaV




PostPosted: Mon Jun 13, 2011 5:42 pm   Post subject: Re: Animation Help!

Oh, so use multiple images as in a sprite, and constantly interchange them, according to the motion wanted.
ProgrammingFun




PostPosted: Mon Jun 13, 2011 5:52 pm   Post subject: Re: Animation Help!

BrindaV @ Mon Jun 13, 2011 5:42 pm wrote:
Oh, so use multiple images as in a sprite, and constantly interchange them, according to the motion wanted.

Yes.

EDIT: What I mentioned earlier was offscreenonly and not offscreeonly Embarassed
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  [ 4 Posts ]
Jump to:   


Style:  
Search: