Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Brian925 on Thu 29/02/2024 03:55:16

Title: Walkable areas showing up behind objects.
Post by: Brian925 on Thu 29/02/2024 03:55:16
Feels like it should be simple but I've checked all the baselines and walkable areas are suddenly disappearing behind objects even in new rooms. My characters disappear behind the objects on these walkable areas as well. Neither characters, objects nor walkable areas have a z layer so i'm just wondering if i've overlooked some setting I was unaware of.
Title: Re: Walkable areas showing up behind objects.
Post by: Crimson Wizard on Thu 29/02/2024 04:13:43
What do you mean by "walkable areas" disappearing? They do not normally shown in game at all.

Or are you speaking of working in the room editor? In that case the areas are always drawn behind objects and characters. If you want to see them, then make characters and objects not visible.

Or are you speaking of "walk-behinds" instead?
Title: Re: Walkable areas showing up behind objects.
Post by: Brian925 on Thu 29/02/2024 07:00:12
Yes, the room editor. I have created a side scroller where the entire background is an object in a room where there is no baseline override set (I will double check and report back)but my character walks towards the background up on the Y then suddenly disappears behind it when walking north on the Y axis. I don't have any walk behinds in the room. My instinct tells me it's a baseline issue because of the behavior, but I can't identify why my character would appear in front of the background, and even overlap it then suddenly disappear
Title: Re: Walkable areas showing up behind objects.
Post by: Khris on Thu 29/02/2024 07:50:07
If you want to move an object to the back, just set its baseline to 1. The default baseline for an object is at its bottom, so a screen-sized object will appear in front of pretty much everything else.