Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Kangourou pas sympa on Mon 13/04/2009 16:14:32

Title: Walk behind smoothed ?
Post by: Kangourou pas sympa on Mon 13/04/2009 16:14:32
Hi everybody,
I have a question, I wanna know if it's possible to have an walk behind area smoothed.
My game is not a pixel art game, and then, my walk behind are sharp.
And I can not make my walk behind with object, because my cursor change over en object.
Do you have any idea ?
Thanks :)

Here the problem:
(http://nsa06.casimages.com/img/2009/04/13/090413051535359231.jpg)
Title: Re: Walk behind smoothed ?
Post by: Gilbert on Mon 13/04/2009 16:31:05
Anti-aliased walkbehinds are not possible at the time being (probably wouldn't be possible within a short time). You may use objects, overlays, etc. as a workaround, but that would be a lot of work and is not recommended.
Title: Re: Walk behind smoothed ?
Post by: Kangourou pas sympa on Wed 15/04/2009 11:17:00
Hi,
Thank you for your answer,
But another question, why is it not recommended ?
I had a look on overlay in the help, and I don't really understand, it's like a layer ?
Title: Re: Walk behind smoothed ?
Post by: Gilbert on Wed 15/04/2009 11:32:03
Because
Quote from: Gilbet V7000a on Mon 13/04/2009 16:31:05that would be a lot of work
as you need to import sprites for these objects and place the objects manually in the rooms. Also, there is a limit to how many objects a room can have (I think it's currently max. 40 objects per room so it's not a great deal) and large objects can slow things down for not-so-powerful computers.

Overlays are sprites placed on top of everything but under GUIs (as opposed to objects, characters, etc. where you can have a "depth" into the screen based on the baselines to determine which is drawn above which; also, overlays don't have interactions). You need to deal with scriptings and pointers (and in every room in this case!) and is not recommended for this purpose (of course, unless someone made a module to do this already for you).