Walking through doors

Started by lukearts, Wed 03/11/2010 20:58:36

Previous topic - Next topic

lukearts

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.

Matti

You can solve this by enabling/disabling walkeable areas. This should help:

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=39011.0


Matti

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.

lukearts

Oh right didnt know how to do this

SMF spam blocked by CleanTalk