Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: lukearts on Wed 03/11/2010 20:58:36

Title: Walking through doors
Post by: lukearts on Wed 03/11/2010 20:58:36
Bit new to AGS, started to make my first slightly-decent game but a problem quickly struck; characters can walk through doors (and other objects I suppose) before opening them. Sure there's an obvious way to solve this that I actually know.
Title: Re: Walking through doors
Post by: Matti on Wed 03/11/2010 21:03:33
You can solve this by enabling/disabling walkeable areas. This should help:

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=39011.0
Title: Re: Walking through doors
Post by: lukearts on Thu 04/11/2010 17:38:10
thanks
Title: Re: Walking through doors
Post by: Matti on Thu 04/11/2010 18:09:10
Another thing that might be of interest to you is that you can set and change the blocking area of objects using object.BlockingHeight and object.BlockingWidth.
Title: Re: Walking through doors
Post by: lukearts on Fri 05/11/2010 16:59:22
Oh right didnt know how to do this