Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: rbaleksandar on Thu 27/03/2008 11:49:42

Title: In running mode character does not go behind a walk-behind area (SOLVED)
Post by: rbaleksandar on Thu 27/03/2008 11:49:42
Okay, I have just started the tutorial (this is the first time I've been using AGS). I've made my first background (similar to the one in the tutorial but more simple). I have drawn the walkable and walk-behind areas, I have placed the edges of the room. And now comes the question. The baseline has "-1" as default value. What does this -1 mean? Is this a coordinate. Because when I start the game wiht F5, the character moves around on the walkable area(which he is suppose to do :)) but totally refuses to go behind an area, that I have decided to be a walk-behind area. How can I see the baseline (e.g. the room edges are simply yellow lines across the room and can easilly be noticed)?

Thanks in advance.
Title: Re: In running mode character does not go behind a walk-behind area
Post by: TwinMoon on Thu 27/03/2008 12:33:06
The -1 means the baseline is disabled. This number is the y-coordinate of the baseline.

You can't see the baseline in AGS 3.0 anymore, just move your mouse across the room in the editor, it will tell you the coordinates (Mouse coordinates: x, y).
Go to the bottom of your walkbehind area and enter that number as the baseline.

If you set it to 100, the character will be drawn behind it when his feet get above 100.
Title: Re: In running mode character does not go behind a walk-behind area
Post by: rbaleksandar on Fri 28/03/2008 13:12:52
Allright! I solved my problem. I wrote 200 and it works great :)
Title: Re: In running mode character does not go behind a walk-behind area
Post by: rbaleksandar on Sun 30/03/2008 12:22:41
Quote from: TwinMoon on Thu 27/03/2008 12:33:06
The -1 means the baseline is disabled. This number is the y-coordinate of the baseline.

You can't see the baseline in AGS 3.0 anymore, just move your mouse across the room in the editor, it will tell you the coordinates (Mouse coordinates: x, y).
Go to the bottom of your walkbehind area and enter that number as the baseline.

If you set it to 100, the character will be drawn behind it when his feet get above 100.

Thanks :) Very helpful information.