Quote:
Originally Posted by Sir Ementaler
That's because jjOBJ::behave, when its second argument is set to false, stops all drawing operations from the behavior. You could solve that by drawing the chain manually but in your case a simpler solution may be to just call behave with the second argument set to true. This will have the effect of your tinted sprite being drawn on top of the regular one, which should be visually identical to what you're trying to achieve.
|
I did it, and it worked, but the chainlinks are still drawn as usual. It seems that I will have to code them as well.
Also, palshifting the bat does this:
I do realise it comes from the direction (capt'n obvious) yet I do not know how to solve it.
Code:
Code:
void Icebat(jjOBJ@ bat) {
bat.behave(BEHAVIOR::BAT, true);
jjDrawSpriteFromCurFrame(bat.xPos, bat.yPos, bat.curFrame, bat.direction, SPRITE::PALSHIFT, -56);
}
|