Auteur Sujet: SOLVED - Background Priority Bit (Tiles With Priority in background)  (Lu 4838 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne faeldaniel

  • Newbie
  • *
  • Messages: 34
    • Voir le profil
Hello alekmaul,

I have this problem in my initial studies and whait becouse this is not important in moment, i soluvied all problems for my game but the only one persister, this Background Priority, i need with the background layer in mode 1:

"Front" < BG3, BG2, SPRITES, BG1 > "Behind"
I control individual layers perfectly in VRAM, i developed my implementation for show dialog for texts in BG3 its it work very good because I have had problem with native consoleDrawText() in BG3.

My view structure is thus:
<Front Screen>
BG3 -> Here Dialog texts (I need set bit priority for 1, default is 0)
BG2 -> Here will be for example, leaf of trees, to create depth effect for the sprite (I need set bit priority for 1, default is 0)
OBJ -> Are all sprites (The priority i set in 2 and working becouse is native in function OamSet)
BG1 -> Here all background for my map (the bit priority default is 0, so no need to do anything)
<Behind>

From what I read this is possible becouse i see in the official documentation as provided by Nintendo in the page 214, this point talk about this http://99.10.161.154/alcaro/docs/book1_text.pdf simply to set priorities so:
BG3 -> priority 1
BG2 -> priority 1
OBJ -> priority 2
BG1 -> priority 0

I see too in No$sns in Vram Viewer in tabs individual BGs i see filder "Priority".

Talking with KungFuFurby he also commented that:
Citer
This is how you get that type of arrangement (if I interpreted http://nocash.emubase.de/fullsnes.htm#snespictureprocessingunitppu 's background priority chart correctly)

I need set this priority flag, this should be done with graphics (gfx2snes) converter correct?
« Modifié: 30 septembre 2013 à 21:05:45 par faeldaniel »

Hors ligne faeldaniel

  • Newbie
  • *
  • Messages: 34
    • Voir le profil
Re : Background Priority Bit (Tiles With Priority in background)
« Réponse #1 le: 30 septembre 2013 à 21:03:56 »
Sorry  :-[ i did not read the documentation of gfx2snes, just use the parameter -mp (Convert the whole picture with high priority) and the graphic is convert with high priority.  ;D
« Modifié: 30 septembre 2013 à 21:10:38 par faeldaniel »

Hors ligne alekmaul

  • Administrator
  • Hero Member
  • *****
  • Messages: 1149
    • Live Messenger (MSN) - alekmaul@hotmail.fr
    • Voir le profil
    • PortableDev
    • E-mail
Re : SOLVED - Background Priority Bit (Tiles With Priority in background)
« Réponse #2 le: 08 octobre 2013 à 06:14:24 »
And sorry for the lack of reply, I was very busy last weeks :(.
Nice to see that you solved your problem.
Don't hesitate to query some new feature for gfx2snes !

Hors ligne faeldaniel

  • Newbie
  • *
  • Messages: 34
    • Voir le profil
Re : SOLVED - Background Priority Bit (Tiles With Priority in background)
« Réponse #3 le: 08 octobre 2013 à 16:57:39 »
 ;) thanks