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.

Graphics > Problems with sprites transparent color on bitmap background

#15759 - Ryle - Thu Jan 29, 2004 1:24 pm

Hello!

I am trying to put a sprite over a bitmap background, but I have strange results.
In mode 3 and 4 it isthesame thing:

My sprite backround, which should be totally transparent appear as 1 column out of 2 transparent, the other are not transparent.
Please help me!!! I really dont understand what it does this:-(

Thank you

#15775 - sajiimori - Thu Jan 29, 2004 8:18 pm

First of all, make sure you're not using the first half of sprite tile RAM. In modes 3-5, the video buffer uses tiles 0-511, so you must start at 512.

Second, check your sprite tile RAM in an emulator and make sure it contains what you think it should.

If it still doesn't work, post some code and/or a binary.

#15794 - Ryle - Fri Jan 30, 2004 2:19 pm

Thanks for your hepl, but i solved it...
I just forgot to put a transparnet background on my gifs, so that when i used gifs2sprites, it didnt appear as transparent.

Well, now, i can progress in my game , that's great!