Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Sun 27/04/2003 15:50:23

Title: object colours
Post by: on Sun 27/04/2003 15:50:23
 I have an object that goes from left through right of the screen and comes back again. No problem with that but when I used "SetObjectIgnoreWalkbehind" it worked but the outline of the object wich was in black became transparent. If I turn the "SetObjectIgn..." to 0, it displays the black outline but it makes the object movement pointeless.This is the script for doing the object movement:

int timer=0;

function repeatedly_execute() {
 timer++;
 if (timer>=75)  timer=0;
 if (timer==0)    MoveObjectDirect(4,260,144,3);
 if (timer==74)    MoveObjectDirect(4,26,144,3);

}

And to set it to ingnore the walkbehinds I´ve put a script line on AfterFadeIn interaction on the editor.

What Am I doing wrong?
thank you
Title: Re:object colours
Post by: Pumaman on Sun 27/04/2003 16:28:51
Hmm, do you have a hi-colour object but a 256-col background scene perchance?

I'll look into it.
Title: Re:object colours
Post by: on Sun 27/04/2003 23:33:45
Quote from: CJ on Sun 27/04/2003 16:28:51
Hmm, do you have a hi-colour object but a 256-col background scene perchance?

I'll look into it.

no, it´s the other way around. my object was made with 256col and the background is high-colour.
Title: Re:object colours
Post by: Pumaman on Sun 27/04/2003 23:35:31
try beta 3, see if it helps at all
Title: Re:object colours
Post by: on Sun 27/04/2003 23:49:53
I´ve just tryed it and it´s fixed, thanks again