Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Fri 20/02/2004 03:13:34

Title: Walkable area problems
Post by: on Fri 20/02/2004 03:13:34
My game uses a top-down perspective, and this seems to cause some problems with walkable areas. My character seems to clip through non-walkable areas when he´s near them, and <i´d rather this not happen. I think it´s because the engine uses the character´s coordinates rather than where the sprite is to determine whether they´re on a walkable area. Is there a way to correct this?

Please excuse my typos, <i´m using a weird Spanish keyboard.
Title: Re:Walkable area problems
Post by: James Kay on Fri 20/02/2004 03:53:41
The walkable area defines the space where the middle pixel on the bottom of your sprite can move.
Just check how wide your sprite is and crop the walkable areas by half of that (ie. make the walkable area smaller).