Biased Walking view loops

Started by red runner, Sat 06/06/2009 17:33:12

Previous topic - Next topic

red runner

I've searched the forums and the manual, and couldn't find anything on the subject.

I've noticed that, using the default player walkto system, the player character almost always seems to face either left or right, but never walks up or down. Normally this wouldn't be an issue, but my game features a lot of vertical movement. Is there a way to fix this?
"Life's too short for all this nonsense.:
  -Joseph Brophy

Akatosh

Well, you could enable eight-direction movement and simply make the diagonal walk loops the same as the up/down ones.

Wonkyth

When eight directional movement is enabled, the character only uses the diagonal loops for tuning, not for actual moving.
It also only ever uses the left/right loops for diagonal movement.
The only way I've found to get around this is to manually set the loop, but that gets a bit fiddly.
There has to be a better way around this, but I don't know it.
hopefully some of this info is useful, but you might have noticed yourself.
"But with a ninja on your face, you live longer!"

Khris

Quote from: wonkyth on Sun 07/06/2009 11:01:01
When eight directional movement is enabled, the character only uses the diagonal loops for tuning, not for actual moving.
That sounds like a major bug. And you're the first since the last several years to notice that. Better check again.

Wonkyth

Yep, just checked, and I couldn't get it to use the diagonal loops properly.
Even the Keyboard_Movement module didn't manage to get them to go.

"But with a ninja on your face, you live longer!"

Khris

I've added two blue cup sprites to loops 4-7 of Roger's NormalView in a default game.
Both walkto clicks and diagonal keyboard movement make them get displayed during the movement.

Not sure what you did to break it, but diagonal loops are displayed during walking just fine.

Wonkyth

Oh well, if it's just my problem, then I can work around it. :)
"But with a ninja on your face, you live longer!"

Trent R

Have you double checked the option in the General?


~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

Khris

I was looking for an option in General and found there's none. It seems it was changed into a character property at some point.
During testing, I had to deliberately set player.DiagonalLoops to false to prevent Roger from using the four diagonal loops, so it seems it is enabled by default.

Trent R

That's right, I think I remember reading about the change in one of the beta threads....

Well, then I'd check and make sure 1)that the diagonal loops are enabled, 2)you have 8 loops (0-7), and 3)they have more than one frame per loop.


~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

SMF spam blocked by CleanTalk