Adventure Game Studio

Creative Production => Critics' Lounge => Topic started by: abstauber on Tue 28/09/2010 08:17:43

Title: Walkcycles! Today: Up & Down walking
Post by: abstauber on Tue 28/09/2010 08:17:43
Hey guys,

here's my most recent walkcycle and I'm already pretty happy with it. It's also the first time that I've tried to add a torso twist :D

(http://shatten.sonores.de/wp-content/uploads/2010/09/ashra-walkright.gif)

As you can see, each step takes exacly 4 px (if you don't count the shoe tip) to avoid sliding. This also adds a bit boredom to the animation, but at least I don't know any other way to do it.

But obviously the guys at LucasArts knew a way, because here's an animation of Sophia:
(http://shatten.sonores.de/wp-content/uploads/2010/09/Sophia_right.gif)

All steps seem to have different sizes, but I can't see any sliding in Indy4.  Is this just an engine issue or am I missing something?

Also please crit my sprite ;)

Thanks!
Title: Re: Walkcycle confusion: step sizes
Post by: Andail on Tue 28/09/2010 14:02:23
I don't quite understand what you're getting at, but it's probably just me cause I'm a bit confused today.
I'm simply not following this steps/sizes issue.

Your walkcycles are a bit different because Sophia has a more distinct "kick" at the end of each stride. Your character seems to swing her legs much too pendular, as if she was walking in one of those gym machines. Try to make her stretch her legs more, it might improve the cycle.
Title: Re: Walkcycle confusion: step sizes
Post by: mode7 on Tue 28/09/2010 14:08:30
Your character seems to have stiff legs or something. Normally you bend your legs when you lift them from the ground. The highest point of that bend is reached when the opposite leg is aiming straight down. the rest seems to be fine.
Title: Re: Walkcycle confusion: step sizes
Post by: ThreeOhFour on Tue 28/09/2010 14:14:03
I am pretty sure it is an engine thing :)

AGS will move your character forward by the number of pixels set in the character properties each frame, whereas I guess the guys at Lucasarts could make things work however they liked.

I think your walkcycle looks pretty good though, and probably looks quite fine in game :)
Title: Re: Walkcycle confusion: step sizes
Post by: InCreator on Tue 28/09/2010 14:15:56
Enable "Anti-glide mode" from general game settings?
???
http://www.adventuregamestudio.co.uk/acintro1.htm
Title: Re: Walkcycle confusion: step sizes
Post by: abstauber on Tue 28/09/2010 15:13:19
@InC
Hehe, without Anti-Glide AGS would simply stop ignoring the delay values in the sprite views.
Spoiler
Besides I currently can't find that option in 3.2
[close]

With Antiglide you can still glide :D

@Andail
As Ben said, the char's movement speed defines how many px a sprite will be moved when a frame is changed. In my case, it's 3 px and each bigger or smaller step than that looks a bit misplaced.

@Ben
Thanks for clarification. I'm just a bit afraid that all upcoming cycles might look exactly the same.
By the way, it was you who brought this issue to my attention ;)

@mode7
That's the problem: I somehow can't create an uniform walkcycle with a stepsize of 3px that doesn't look at least a bit weird.


Concluding question: How to strech without having telescope legs and only 3 px for each step?

edit:
Regarding the leg stretching, we're talking about frames 3 and 7, right? Those could indeed show some more knee :)
Title: Re: Walkcycle confusion: step sizes
Post by: Mr Flibble on Tue 28/09/2010 23:02:48
As I recall you can't change walking speed mid-walk. There's probably an incredibly complicated workaround. Infact there is, remember when people were bandying around ideas for making Broken Sword style walking where the character would take a smaller step if they were close to the destination, and come to an animated standstill instead of just switching frames? If you look that up you might find helpful things for making animations with strides of varying length.
Title: Re: Walkcycle confusion: step sizes
Post by: Snarky on Wed 29/09/2010 07:27:36
Well, the simplest would be to move the body around on the canvas to adjust the actual movement forward per frame. So instead of moving 4,4,4,4 each pace your character might move 3,5,5,3, for example. (To achieve this rhythm, offset the first frame back one pixel, the third frame forward one.)

My only concern is how it would work with scaling. If the sprite scaling and movement scaling don't match perfectly, you might get flickering or "shaking".
Title: Re: Walkcycle confusion: step sizes
Post by: abstauber on Wed 29/09/2010 08:15:16
@Mr. Flibble: Thanks for the tip. Maybe I can dig up something interesting.

@Snarky: Hehe, I had that in mind as well and didn't even thought about the scaling. What put me off is that the only valid preview would be inside of AGS. Maybe that's the next level of animations ;)

@Topic - knee bending:

(http://shatten.sonores.de/wp-content/uploads/2010/09/ashra-walkright2.gif)

Maybe it's easier to judge the frame with an anistrip.
(http://shatten.sonores.de/wp-content/uploads/2010/09/ashra-walkright-strip.gif)

I've already made two very suptle changes in frame3 and 7.
Better?
Title: Re: Walkcycle confusion: step sizes
Post by: Shane 'ProgZmax' Stevens on Wed 29/09/2010 12:26:23
I think it looks good.  A couple of things, though:

First the legs:

1.  Her shoe is not touching the ground on a down step and this gives a bit of a floaty appearance.

2.  You want the legs to be at their maximum distance apart on a down step.  Right now, the back leg is at the maximum distance away the frame AFTER and this creates a small wobble and visual offset to the motion.

3.  Adding up-steps when she brings up her knee helps add a nice transition from moving up to down in a sinusoidal fashion rather than just down on a down step.  

4.  Varying the position of the legs at various frames to minimize the viewer's eye from catching on certain frames.

5.  The shape and length of her legs vary a bit too much, especially on the back step.  The more consistent looking, the better.


(http://i485.photobucket.com/albums/rr218/ProgZmax/ashra-walkrightcl.gif)

(http://i485.photobucket.com/albums/rr218/ProgZmax/ashra-walkrightcl.gif)

This edit takes into account the above and also removes much of the shading on the legs just to show shape and form and give you an idea of what I did.


Second, the arms:

1.  Her left arm does not come down as far as her right.  If the legs were offset in the same manner then it wouldn't be an issue since you're foreshortening, but to just adjust up the arm makes her arm look short rather than farther away.

2.  The shape of the right arm changes as it moves, and like the legs you're shooting for consistency here.

3.  Her left shoulder is too visible when she turns toward the screen.


(http://i485.photobucket.com/albums/rr218/ProgZmax/ashra-walkrightcl2.gif)

(http://i485.photobucket.com/albums/rr218/ProgZmax/ashra-walkrightcl2.gif)

This edit includes the new legs with the wider strides, more consistent shapes and the sinusoidal movement as well as fixing a few of the minor issues with the arms above.

An approach that might help you if you don't do it already is to animate in flat colors without highlights and once the shapes and movement look good, go back and add more color if you want.  None of my walkcycles have ever looked like they were gliding in AGS so hopefully this will help you achieve the look you're going for.
Title: Re: Walkcycle confusion: step sizes
Post by: Andail on Wed 29/09/2010 12:50:09
Progz beat me to a paint-over, so his points aren't taken into account here...just wanted to show the cycle with legs more bent and the strides more "kicking".


(http://i231.photobucket.com/albums/ee186/bigbluecup/walkcycleandy.gif)

The wrinkles and shades in her jeans look a bit messy, but I couldn't bother to do them properly, so focus on the motion.

PS:
Regarding the sprite itself, I'd definitely lift her hip a bit and thereby lengthen her legs.
PS2:
Don't ask me where the heck that background and those artifacts come from; I made it at work with a downloadable gif animator and it turned out like this...
Title: Re: Walkcycle confusion: step sizes
Post by: abstauber on Wed 29/09/2010 20:42:20
@ProgZ: just made a PDF for deeper consideration :) I'll be off the interwebs for the next few days, so I'll try to learn as much as possible from your input. The hint with the flat colors is already very valuable :)

@Andail: But the grain effect makes it look vintage and that's cool ;D
Thanks for the paintover - I'll merge it with the input from ProgZ and see what comes out. Although the back and forth movement of the head looks a bit odd.

Anyhow I'll report back on weekend and post the progress!

PS. Sorry that this is actually such a short answer for all the effort you two put in your replies. I'll make it up soon ;)
/me happy
Title: Re: Walkcycle confusion: step sizes
Post by: Misj' on Fri 01/10/2010 16:02:33
A bit late, but I wanted to react and...then I forgot. So anyway...

The thing that bothers me most about the walk-cycles (including the paint-overs) presented is, that they're somewhere between unisex and masculine, while the character is clearly female. The problem is (largely) with the up-down movement. With males the up-down movement is more or less equal for the entire body. With females, however, much of this movement is diverted to the hips (in the opposite angle to the shoulders). Consequently the upper-body (and the head) will have less up-down movement than its male counterpart. In the case of Sophia you see that - while there is still up-down movement - her hips and buttocks are involved in the walk-cycle as well. It's because of this movement that - even though her walk-cycle has a tough attitude - there's a certain sexiness to her.

So let's take a look at your sprite: in the design of the character you've added a belt. Normally, one would expect that if the angle of the hips changes (so one moves up while the other stays down/moves down), this movement is enhanced by the belt (since it's 'resting' on the hips). However, in all cycles presented here, the angle of the belt to the spine doesn't change: it appears as if the hips are static. Consequently, if this were a generic sprite (that does not show any gender-features) one would expect this to be a male character.

I'd suggest searching youtube for feminine walk-cycles, and try to incorporate some of what you see into the sprite without going overboard and all runway-modelish (although there's a lot of rubbish on youtube as well where people have the strangest ideas as to how women walk). Or even better: go to the city, sit down somewhere, and just observe (it should be quite simple to figure out what women you think have a nice walk and why (although the why is sometimes difficult to see)).

Ps. If you ever want to create a gay man give him a feminine walkcycle and you're almost good to go.
Title: Re: Walkcycle confusion: step sizes
Post by: Calin Leafshade on Fri 01/10/2010 20:10:17
On the subject of slidey walkcycles:

I'm working on a solution to this by assigning a distance value to each viewframe so that a character can have an irregular speed.

Unfortunately doing it this way either involves some heavy hacking with dummy characters or rewriting the pathfinder.

I am inclined to believe that the latter is the better option since hacking stuff is never bug free but unfortunately that takes a while...
Title: Re: Walkcycle confusion: step sizes
Post by: SirHandsome on Sat 02/10/2010 02:47:19
I think lengthning her legs and shortening the torso would help alot. also she is very errect, try giving her more of an S shape.
Sophias gate is even, her body is just slightly turned in towards the viewer. this is why if you look closely her left leg is extending slightly farther in front of her than the right.

Oh, and Bend that knee when she brings her foot forward! even bend the actual femur and calf if you have to to get the illusion that she is moving.

hope that helps, Im still learning AGS myself so I cant help on the other part.


Title: Re: Walkcycle confusion: step sizes
Post by: abstauber on Tue 19/10/2010 13:52:46
Oh dear, that update took way too long.

(http://shatten.sonores.de/wp-content/uploads/2010/10/ashra-walkright2.gif)
(http://shatten.sonores.de/wp-content/uploads/2010/10/ashra-walkright2.gif)

Thanks again for all your input. I suppose for the next version I take it easy on the grain shadows ;)
Title: Walkcycles! Today: Up & Down walking
Post by: abstauber on Wed 20/10/2010 19:53:22
Update!
I hope for the next sprites I can do it all alone, but for now I need your help.

(http://shatten.sonores.de/wp-content/uploads/2010/10/ashra-walkfront.gif)
(http://shatten.sonores.de/wp-content/uploads/2010/10/ashra-walkfront.gif)

(http://shatten.sonores.de/wp-content/uploads/2010/10/ashra-walkback.gif)
(http://shatten.sonores.de/wp-content/uploads/2010/10/ashra-walkback.gif)

Thanks to ProgZ, I came this far, but especially the upwalk looks a bit stiff.

Any thought are appreciated :)
Title: Re: Walkcycles! Today: Up & Down walking
Post by: markbilly on Wed 20/10/2010 23:03:06
I really like them but maybe you could emphasise the movement of the upper half of the leg more. You could this by making the light (shading) changes more extreme. In fact, you could do this with the whole sprite.
Title: Re: Walkcycles! Today: Up & Down walking
Post by: cat on Thu 21/10/2010 09:16:14
I think the head of the front view doesn't look right. The bandana should be more symmetrical. The original sprite was more 3/4 view, the frontal view has to be symmetrical.
Title: Re: Walkcycles! Today: Up & Down walking
Post by: Andail on Thu 21/10/2010 09:41:07
I think the up & down views are very well animated, but I'm affraid the movements are too subtle. While walking around the screen, chances are she will not appear to animate very much at all.
Title: Re: Walkcycles! Today: Up & Down walking
Post by: abstauber on Fri 22/10/2010 14:32:34
@cat: oops, right! I've fixed that.

@markbilly: I've tried to adjust the shading on the up-walkcycle. But on the whole sprite? Do you mean the arms?

@Andail: Thanks a lot :D Although I've to admit that I had a very close look at some artwork provided by ProgZ.
I haven't tried the sprite inside the game yet, but if reducing it to only 6 frames might be an option.

(http://shatten.sonores.de/wp-content/uploads/2010/10/ashra-walkfront1.gif)
(http://shatten.sonores.de/wp-content/uploads/2010/10/ashra-walkback1.gif)
Title: Re: Walkcycles! Today: Up & Down walking
Post by: markbilly on Sat 23/10/2010 10:18:10
I meant use the shading to really stronly show which parts of the body are moving away/towards the screen.

This is one of mine. (You have got the body twist down to a better art than me though, I must say!)

(http://longevitygene.webs.com/144048654.gif)
Title: Re: Walkcycles! Today: Up & Down walking
Post by: Wonkyth on Sat 23/10/2010 10:28:49
Markbilly, I think the problem is that the velocity of the arms and the twist of the torso reverses direction to quickly.
Title: Re: Walkcycles! Today: Up & Down walking
Post by: Calin Leafshade on Sat 23/10/2010 12:06:19
markbilly , thats not a walkcycle. That's a strut-cycle.
Title: Re: Walkcycles! Today: Up & Down walking
Post by: markbilly on Sun 24/10/2010 14:52:37
Well, what can I say? My protagonist likes to strut!

Anyway, we should talk about abstauber's walk-cycle. My point about the shading still stands I think...
Title: Re: Walkcycles! Today: Up & Down walking
Post by: abstauber on Sun 24/10/2010 16:41:29
Hehe, yeah I already took a look at your sprite in the Longevity Gene Thread ;) I see that you only use the highlight on the frames closer to the "camera", which makes it easy to distinguish between the 4 front frames and the 4 back frames. In your example it looks good on the down-cycle, but I'm not so sure about the up-cycle. But as you've seen I'm quite doubtful when it comes to shading.


About the body rotation: your protagonist might look a bit odd, because the rotation is 3px (center, left, center, right) and no frame is preparing the extremes. So I'd rather take 2px (slight-left, left, slight-left ,slight-right ,right, slight-right), also the waistcoat should skew instead of just moving 1 full px vertically.

Quote from: markbilly on Sun 24/10/2010 14:52:37
Anyway, we should talk about abstauber's walk-cycle.
Oh.. err.. sorry ;D

Thanks for input, I'll try to reduce the highlights a bit more and see how it turns out.
Title: Re: Walkcycles! Today: Up & Down walking
Post by: markbilly on Sun 24/10/2010 17:28:34
Hey, this has been pretty damn useful actually. I didn't realise I forgot the 'in between' shading on the up-cycle, so the highlights flick on and off, rather than being continuous.

Can't believe I missed that.

I may change the waistcoat thing, too. :)

ANYWAY: I've taken a look at the most recent edit zoomed up and you've pretty much cracked it on the arms. If you do the same with the legs - i.e. not be afraid to let there be no highlighted area for the frames with the leg furthest back - you're sorted.
Title: Re: Walkcycles! Today: Up & Down walking
Post by: abstauber on Sun 24/10/2010 18:31:02
win/win ;D
Title: Re: Walkcycles! Today: Up & Down walking
Post by: Ookki on Wed 27/10/2010 12:43:41
 Sorry for making a little hijack but how many phases do you have in your animations (markabilly & abstauber) and what are they? I'm trying to make my character a frontal walkcycle but it's a mess. Your anims look smooth enough for my needs (actually abstauber's anim is way beyond anything I can achieve in years). :)
Title: Re: Walkcycles! Today: Up & Down walking
Post by: abstauber on Wed 27/10/2010 13:26:00
@Ooki
That's how markbilly did it, I'm also using 8 frames - so I'm more or less doing the same thing. His work is just much more educational :)
(http://shatten.sonores.de/wp-content/uploads/2010/10/gene_strip.gif)

And don't worry, Pixel Art is very good learnable. For animations it's best to find a nice piece of software to flip the frame. In other word: don't use paint ;)

GraphicsGale is nice and free. ProMotion is awesome, but pricey. ASE (free) might also be an option.


@markbilly
I hope it's okay to post this, else just PM me and I take it down again.
Title: Re: Walkcycles! Today: Up & Down walking
Post by: markbilly on Wed 27/10/2010 16:17:42
@abstauber @Ooki That's fine, I just hope it can help. :)
Title: Re: Walkcycles! Today: Up & Down walking
Post by: Ookki on Wed 27/10/2010 16:54:26
@abstauer
Hey, thanks! I'll study these frames like no tomorrow. Yeah, I'm using graphics gale, it fits me great.

@markbilly
And thanks for letting him use your animations to teach me. :D
Title: Re: Walkcycles! Today: Up & Down walking
Post by: markbilly on Thu 28/10/2010 11:15:46
Just don't go thinking they are the be-all-and-end-all. You can do a lot more with a walk-cycle in terms of character than I have here. They are still very basic.
Title: Re: Walkcycles! Today: Up & Down walking
Post by: subspark on Thu 28/10/2010 22:02:27
These walkcycles of mine are old and now obsolete, but perhaps they will be of some help to you.
(http://www.shuugouteki.net/paul/Development/walkcycle_left.gif)(http://www.shuugouteki.net/paul/Development/walkcycle_front.gif)(http://www.shuugouteki.net/paul/Development/walkcycle_back.gif)(http://www.shuugouteki.net/paul/Development/walkcycle_right.gif)

Cheers,
Sparky.
Title: Re: Walkcycles! Today: Up & Down walking
Post by: abstauber on Fri 29/10/2010 14:13:12
@Sparky

Very cool! Finally I come to see some of your work. I've only seen that 2 Adlanto screens you've posted ages ago.

In any case you have a less jolly walkcycle floating around, I'd be dying to see them too ;D
Title: Re: Walkcycles! Today: Up & Down walking
Post by: subspark on Sat 13/11/2010 11:53:05
Hmm. I have a few but I'm away from my main PC right now.
If you want to see more of my work, check out my thread (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37496.0).

Oh Wait! Damn directory is broken. I'll have to fix that when I get back from Brisbane.

Cheers,
Sparky.