Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Makeout Patrol on Sat 28/06/2008 23:31:11

Title: Object baseline issue (SOLVED)
Post by: Makeout Patrol on Sat 28/06/2008 23:31:11
All right, this one is driving me nuts.

I have an object in a room. It's not clickable, because it's just for a graphic effect; it's hiding another object that floats across the screen at one point (the effect is that the other object goes flying past the window).

However, no matter what I do, the characters always walk behind the object when their y-coordinate is less than 150:

(http://i30.tinypic.com/w7bk0n.png)

It's worth noting that the bottom of this object is located at y = 135, but the characters walk behind it at y = 150. There are no pixels lower than y=135 in this object.

I have tried the following:

-setting the BaselineOverridden property in the editor to False
-setting the BaselineOverridden property in the editor to True and the Baseline property to 135
-setting the BaselineOverridden property in the editor to True and the Baseline property to 1
-setting the object.Baseline property to 1 in the room_Load() function
-setting the object.Baseline property to 0 in the room_Load() function
-setting the object.Baseline property to 135 in the room_Load() function
-deleting the object and placing it again

What is the deal? Can anybody help a brother out with this?
Title: Re: Object baseline issue
Post by: Khris on Sun 29/06/2008 09:39:39
Make sure you didn't draw a walkbehind.
Title: Re: Object baseline issue
Post by: Makeout Patrol on Sun 29/06/2008 20:41:52
And, as always, the most ridiculous problems have the simplest solutions

thanks