object colours

Started by miguel, Sun 27/04/2003 15:50:23

Previous topic - Next topic

miguel

 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

Pumaman

Hmm, do you have a hi-colour object but a 256-col background scene perchance?

I'll look into it.

miguel

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.

Pumaman

try beta 3, see if it helps at all

miguel

I´ve just tryed it and it´s fixed, thanks again

SMF spam blocked by CleanTalk