Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: everlite on Thu 17/03/2011 02:29:03

Title: walk behind / baseline issue ...
Post by: everlite on Thu 17/03/2011 02:29:03
Hi,

I just came across AGS and wanted to try a basic isometric style room test. I've come across one issue that doesn't seem to be explained in the help files.

This is related to walk behinds / baselines.

I think this image will explain my issue: http://www.davidedwards.me/web/backcull.jpg

When the character is positioned at the top (behind the wall) he is masked out, as one would expect. However when he mouses around to the side, his head intersects the mask area and becomes cut off.

Any solutions on how to over come this issue?

Thanks in advance.

David.
Title: Re: walk behind / baseline issue ...
Post by: hedgefield on Thu 17/03/2011 18:35:20
Woof that's a tricky one. Walkbehinds are kinda hampered by the fact they only have one horizontal baseline, so I imagine in cases like this that becomes quite a headache, because if you set the baseline near the 'bottom' of that block it will cut the character's head off when he is in front, but if you set the baseline near the top he won't be able to walk behind it down there on the left side..

I think a workaround for this might be to divide the walkbehind you have now into several different neighbouring walkbehinds with different baselines. It's not a perfect solution but atleast it'll make this problem a little less glaring.