Walk-behind problems

Started by Pixelton, Thu 15/04/2010 14:10:06

Previous topic - Next topic

Pixelton

I know this is probably nothing and simple to resolve but I'm having a few  issues with some walkbehind areas.

in a few instances the player needs to walk underneath something and it just isnt working so I'm curious what I;m doing wrong here. Heres a screengrab to emphasis the problem.



Any help is appreciated
Please follow our progress on IndieDB!

<a href="http://www.indiedb.com/games/dustbowl-a-wasteland-adventure" title="View Dustbowl - A Wasteland Adventure on Indie DB" target="_blank">Dustbowl - A Wasteland Adventure</a>

RickJ

You could use an object.  Just set the baseline at a point on the floor of the background image that is directly under the object the character is to walk under.
[edit]
I guess this would work  for walk-behind areas

Pixelton

ah right...so you cant really use a walk-behind in that way basically...its ok, I've fixed this with a small amount of character scale.
Please follow our progress on IndieDB!

<a href="http://www.indiedb.com/games/dustbowl-a-wasteland-adventure" title="View Dustbowl - A Wasteland Adventure on Indie DB" target="_blank">Dustbowl - A Wasteland Adventure</a>

Matti

You can use a walk-behind like you already did, but (as RickJ pointed out) you have to set the baseline to a point somewhere on the floor, since the character's baseline has to be above the walkbehind's baseline to get the result you're looking for.

Khris

Mark:

Yes, of course this will work for a walkbehind, too.
Just put the baseline on the floor, right under the door.

That's exactly why a baseline is available to set in the first place; to add a concept of height, or rather a z-coordinate, to walkbehinds.
    wall      |  ######  |
             >|--######--|<-- baseline
--------------'  ######  '-----
                 ######        
###############################
##### walkablke area ##########
###############################

Around here, probably best at the lowest point of the narrow part of the walkable area.

Pixelton

ah cheers guys...now I've sorted that I feel kind of stupid :p
Please follow our progress on IndieDB!

<a href="http://www.indiedb.com/games/dustbowl-a-wasteland-adventure" title="View Dustbowl - A Wasteland Adventure on Indie DB" target="_blank">Dustbowl - A Wasteland Adventure</a>

SMF spam blocked by CleanTalk