91
PVSnesLib English section / Re : Re : Sprite between two Backgrounds
« Dernier message par ccc le 10 janvier 2013 à 13:45:39 »yes, take a look here : http://www.portabledev.com/wiki/doku.php?id=sprites_en
Priority flag (3rd) is : priority relative to BG : 0 for Low and 3 is the highest
That's where I redirected him too.
His problem is that he wants to have, in Mode 1, 2 BG of 16 colors and his sprite between that 2 BG (so in fact a BG and a FG).
He has succeded to put the sprite between the two layers with 0 and 2 as BG's id and 1 as priority flag.
It doesn't seem to work with another combination.
But with that solution he looses the 16 colors of the 2nd background, because of the limitations of Mode 1 I guess
Code: [Sélectionner]
Mode # Colors for BG
1 2 3 4
======---=---=---=---=
0 4 4 4 4
1 16 16 4 -
2 16 16 - -
3 256 16 - -
4 256 4 - -
5 16 4 - -
6 16 - - -
7 256 - - -
7EXTBG 256 128 - -