Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Edwin Xie on Sun 21/11/2004 22:20:30

Title: Suggestion: RemoveWalkbehindArea
Post by: Edwin Xie on Sun 21/11/2004 22:20:30
I think it would be useful to people who really want a better way of walking on and behind sand dunes, to remove the walk-behind area when you are walking up the hill and restore it when you are going to walk behind it. Maybe something like this:
(http://www.2dadventure.com/ags/sanddunesplan.JPG)

As soon as it is implemented, I'll try to upload a short demo demonstrating this.
Title: Re: Suggestion: RemoveWalkbehindArea
Post by: Radiant on Sun 21/11/2004 22:26:23
You can remove walkbehind areas by using SetWalkBehindBase () to set its baseline to zero.
Title: Re: Suggestion: RemoveWalkbehindArea
Post by: SSH on Sun 21/11/2004 22:28:12
You can also have two different walkbehind/walable area behvaours by messing around with baselines. See the LSL2 remake mirror discussions...
Title: Re: Suggestion: RemoveWalkbehindArea
Post by: Edwin Xie on Sun 21/11/2004 22:29:36
Then how do you restore it?

Nevermind.
Title: Re: Suggestion: RemoveWalkbehindArea
Post by: Edwin Xie on Sun 21/11/2004 22:46:36
Hmm, now I am thinking about overlapping walkable areas, walk-behind areas, etc.
Title: Re: Suggestion: RemoveWalkbehindArea
Post by: Radiant on Mon 22/11/2004 11:22:29
Yes. But I'm afraid that's not going to happen any time soon (or so CJ said in response to suggestion earlier this week). However, you could get away with making the overlapping part of two walkables (or walkbehinds) a third such area, and do some scripting with it.
Have you played KQ3? The first room (with the tricky staircase) and the pier (which you can walk on, fall off and swim under) are all possible in AGS.