Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: doctorhibert on Sat 28/07/2018 13:57:30

Title: (solved)How to make an object be behind the background in some parts
Post by: doctorhibert on Sat 28/07/2018 13:57:30
Hey, so I have a room with some windows, some blinds and some stuff on a table. I have an animation for the window, which I put into an object with it's own view. The problem is, the animation is for the whole window, and I need it to only be visible when it's not behind things such as the blinds and stuff on the table. So basically the spaces in between the blinds the object should be visible, and where the blinds are it shouldn't. Is there a way to do this in ags or do I just need to redo it with the blinds as part of the animation
Title: Re: How to make an object be behind the background in some parts
Post by: Slasher on Sat 28/07/2018 14:09:36
If I understand you correctly then you need to check out Baselines in the help manual.

The blinds need to be in front of the animating window so parts of the blind cover it.

This assumes both are objects.

You can't use ignore walkbehinds if using Direct3D 9 hardware acceleration setting.
Title: Re: How to make an object be behind the background in some parts
Post by: doctorhibert on Sat 28/07/2018 16:40:59
Thanks. the blinds weren't objects so that wouldn't work. I just fixed it by removing the parts of the windows where the blinds are in the animation