Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: YotamElal on Wed 23/02/2005 18:03:40

Title: Player move object with mouse?
Post by: YotamElal on Wed 23/02/2005 18:03:40
Is there a way I can let the player use the mouse to drag an object in a certain area?
Title: Re: Player move object with mouse?
Post by: strazer on Wed 23/02/2005 18:22:34
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=18626
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=9963
Title: Re: Player move object with mouse?
Post by: YotamElal on Wed 23/02/2005 19:38:02
now I know how to drag an object
but I dont know how to decide the area it is aloud to be draged on?

anyone?
Title: Re: Player move object with mouse?
Post by: Radiant on Thu 24/02/2005 08:29:18
GetRegionAt should work.

(if region == 0 disallow the drop, for instance)