#17634 - Lupin - Thu Mar 11, 2004 4:28 pm
I would like to know how i can change the priority of my pixel backround in mode 4?
I set my sprites to priority 1 and they disappeared... i think this is because the background is on priority 0...
#17638 - tepples - Thu Mar 11, 2004 7:14 pm
In mode 4, background pixels are either opaque or transparent. You can place a sprite behind the background so that the sprite shows through the transparent pixels, but you can't have opaque pixels half-cover a sprite without either using some sort of OBJ window trickery or using a tile mode instead.
What exactly are you trying to accomplish by setting sprites to a given priority in mode 4?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#17688 - Lupin - Fri Mar 12, 2004 5:27 pm
REG_BG2CNT = 3;
that solved my problem. Yes, you can do this without destroying register content because bitmap modes only use the palette info of the background control register.