
-----------------------------------
BrindaV
Mon Jun 13, 2011 5:35 pm

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

-----------------------------------
ProgrammingFun
Mon Jun 13, 2011 5:39 pm

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
Mon Jun 13, 2011 5:42 pm

Re: Animation Help!
-----------------------------------
Oh, so use multiple images as in a sprite, and constantly interchange them, according to the motion wanted.

-----------------------------------
ProgrammingFun
Mon Jun 13, 2011 5:52 pm

Re: Animation Help!
-----------------------------------
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  :oops:
