Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Iphigenia on Wed 01/07/2009 11:51:11

Title: Dragging and dropping objects within a room?
Post by: Iphigenia on Wed 01/07/2009 11:51:11
Would anyone be kind enough to guide me through the code necessary for dragging and dropping objects with the LMB? I've tried adapting examples in other threads, but don't seem to be making any progress. :(     
Title: Re: Dragging and dropping objects within a room?
Post by: GuyAwesome on Wed 01/07/2009 12:07:35
Which old threads have you tried, and what's not working exactly?

One recent thread that I know contains a working version (because I tried the code as it was posted :)) is maraki_ang3l's 'Click and drag puzzle', specifically  starting from KhrisMUC's post here (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37951.msg498974#msg498974). If you missed that thread before, give it a try (it updates some of the older examples to actually work in 3.1.2). If you've tried it already - what is/isn't it doing that's holding you back, or is it just not quite what you want?
Title: Re: Dragging and dropping objects within a room?
Post by: Iphigenia on Wed 01/07/2009 12:32:09
Ah, perfect! My "dragging objects" search hadn't unearthed that thread.

Many thanks.