gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Blending issue

#51472 - ghost Leinad - Sat Aug 20, 2005 1:36 am

let me tell you something..i'm very happy coz' i finally able to use blending for my bg...i was reading the TONC tutorial and realizes that his tutorial is SO hard... but well after a lot of reading and reading again..i finally came to one conclusion..i had to make my own library...and after a lot of work i came out with a little and very basic library for blending...but, hey...it works...

well now my question...
how do i make (if in example, im using bg2 and bg3, bg2 is a white bg whith some black letters bg3 is the same as bg2)...a totally white screen appear first and then JUST the letters from the bg2 shows (fade to black)
coz when i use the first kind of blending (the one involving two bg's) the screen start totally black and then the ENTIRE bg2 fades to white...i don't want the ENTIRE bg to fade...just the letters!!!

so here's some of my solutions!!!

a)the bg2 and bg3 MUST be the same (same white bg and black letters)

b)the bg2 is a white bg with black letter and the bg3 is a black bg whith the white letters

c)the bg2 is white bg with blacks letters and the bg3 is totally white, without letters

d)the bg2 is white bg with blacks letters and the bg3 is totally black, without letters

e)im completly wrong and i have to make a different approach to the problem!!

BTW if you can't understand this maybe i can bring some pics of my bg...

for second time this is what im triyng to achieve!!

the bg2 is an entire white bg with some black letters at the center...i want this bg goes from white bg and white letters to white bg and black letters...just the letters are changing!!
_________________
All human wisdom is summed up in these two words, - 'Wait and hope"
****************************************
My site www.myth-world.net and www.bmrpg.com :)

#51490 - Quirky - Sat Aug 20, 2005 11:46 am

There are two kinds of fading -

start off with a black screen and fade to white
start off with a white screen and fade to black

From your description, I assume you have used the first approach. You need the second one so your screen starts off saturated and fades to your image. This is used in loads of RPGs splash screens - have a 'lightning flash' that then fades from blinding white to the game logo - I think Riviera was the last game I saw use the technique.

See the cowbite spec for details on which bits to set to fade from white to black

#51878 - yamaneko - Wed Aug 24, 2005 6:59 am

If you want just fading the letter, you need only one bg.
But the tiles you use for letter must have a white bg and the letter draw with the same color of another palette entrie.
So after,just change the color of the the letters.