Wel, I want a character to appear on top of everything. Objects and characters. So I don;t have to set each objects baseline to each room...
So what should be done in order to achieve it?
The other way round: character.Baseline = 200; (presuming you use 320x200)
Doesn;t work...still behind an object reso is 640x480
I've never used the character baseline property, but after reading up on it, I think to draw it in front of everything you have to use SetBaseline(1); in the game_start function.
If you use
cCharacter.Baseline = 480;
the character cCharacter will be drawn in front of everything.
Put this line of code in game_start or in room_Load(). It works on my computer (ok, not the best of argument, I know), I'm using AGS 3.0 btw.
Ok,i just figured what i was doing wrong. I set baseline 200 whilst not being aware that it can reach up to the game's screen height resolution(480 in this case).
Praise to you Twinmoon. I'm using AGS 3.01 but I think it will work just fine.
Hey, come on, I was close... ::)
Quote from: NiksterG on Fri 06/06/2008 23:04:22
Hey, come on, I was close... ::)
I guess,but there's only one credit slot but whatever..