In running mode character does not go behind a walk-behind area (SOLVED)

Started by rbaleksandar, Thu 27/03/2008 11:49:42

Previous topic - Next topic

rbaleksandar

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.
I am a mighty pirate. Arrrrgh!

TwinMoon

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.

rbaleksandar

Allright! I solved my problem. I wrote 200 and it works great :)
I am a mighty pirate. Arrrrgh!

rbaleksandar

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.
I am a mighty pirate. Arrrrgh!

SMF spam blocked by CleanTalk