Smooth walking animation?

Non-platform specific questions.

Smooth walking animation?

Postby Lacotemale » Mon Apr 15, 2013 1:26 pm

Hi all,

Turns out one of the biggest problems I have making my game is getting the walking animation to look decent. At the moment I have 4 pictures/frames for it and in the animation preview it looks good.

However, inside the game it does not. It looks very flickery(if thats a word). :D Do I need more frames in the animation? or is the problem because the animation is set the the "d" key and repeat is turned on?

Any help/ideas/solutions are welcome here! :)
User avatar
Lacotemale
 
Posts: 285
Joined: Wed Dec 08, 2010 7:47 pm
Location: /home
Score: 7 Give a positive score

Re: Smooth walking animation?

Postby lcl » Mon Apr 15, 2013 3:54 pm

Lacotemale wrote:or is the problem because the animation is set the the "d" key and repeat is turned on?

This is the problem if you are using FORWARD as the animation direction. Use NO CHANGE instead, and it'll run smoothly.
With forward it just keeps repeating the first 2 frames, since every frame the key is pressed it resets the animation back to the first frame.
No change option avoids this bug. :)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Smooth walking animation?

Postby Lacotemale » Tue Apr 16, 2013 11:26 am

Ah perfect! Thanks again Lcl! :)
User avatar
Lacotemale
 
Posts: 285
Joined: Wed Dec 08, 2010 7:47 pm
Location: /home
Score: 7 Give a positive score

Re: Smooth walking animation?

Postby lcl » Tue Apr 16, 2013 2:42 pm

You're welcome! :)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Smooth walking animation?

Postby retroarcade » Sun Mar 23, 2014 6:27 am

I know it is an old post but I also have to say thanks: changing from "forward" to "no change" was the solution I was looking for.
retroarcade
 
Posts: 18
Joined: Sat Mar 08, 2014 2:20 pm
Location: Italy - Germany
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron