Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: G on Mon 17/03/2008 16:15:17

Title: Is there some way to block a path? (vertically) (SOLVED)
Post by: G on Mon 17/03/2008 16:15:17
Hi there, I've found a problem.

I need to block a path with a door at one of my rooms, but, the "solid" property of the door as a character only works "horizontally" (blocking all the width of the sprite, but not the height). So I find that I've made an useless door, mainly because the player character oversteps it just moving one pixel up o down from the coordinates of the door. Which is quite disturbing.

Is there any way to block the path vertically without consuming much resources?

Cheers
Title: Re: Is there some way to block a path? (vertically)
Post by: SSH on Mon 17/03/2008 16:43:08
Make a separate walkable area where the door is/will be and turn it on/off?
Title: Re: Is there some way to block a path? (vertically)
Post by: G on Mon 17/03/2008 16:48:38
Thanks, but already solved it using regions and imagination. Though your method sounds smarter than mine.