Page 1 of 1
Black Boxes around backgrounds and some blocks
Posted: Sun May 24, 2015 10:30 am
by deleted_account
Hello guys.
This is my problem:

Using PGE:

These are the sprites:

Halp.
Edit: The carrot top and bottom show similar issues although they also use the right masks.
Re: Black Boxes around backgrounds and some blocks
Posted: Sun May 24, 2015 10:45 am
by bossedit8
You have to replace the broken graphics' mask into different graphics that has a mask aswell. SMBX itself doesn't read mask tiles if the default graphic doesn't have a mask aswell.
Re: Black Boxes around backgrounds and some blocks
Posted: Sun May 24, 2015 10:46 am
by deleted_account
bossedit8 wrote:You have to replace the broken graphics' mask into a different graphics that has a mask aswell. SMBX itself doesn't read mask tiles if the default graphic doesn't have a mask aswell.
Oh, I see.

Re: Black Boxes around backgrounds and some blocks
Posted: Sun May 24, 2015 10:46 am
by Gameinsky
The problem is a bit difficult to figure out because it seems counter-intuitive. It has nothing to do with the masks or the graphics themselves. They are correct.
However you used maskless graphics as a base. That doesn't work. Graphics that have a square mask don't have a mask, and can't be masked.
I would suggest replacing background 1, 89, 148 and 149 instead.
[edit]
Well I got ninja'd