#1467 - Arek the Absolute - Sun Jan 19, 2003 4:46 am
This is a problem that's been bothering me for a while, mostly because emulators tend not to show it, so I can't solve it without running it on hardware. Anyway, here's the basics of it:
For starters, I have a rotation background (priority 3). On top of that, I draw one sprite, of a character, which is priority 2. This works fine, and shows like this:
[Images not permitted - Click here to view it]
Next, I add another sprite on top of this one. For example's sake, let's make it a textbox, which is just black, and overlayed on the sprite and the background. It's priority is 1. Again, this works fine, and looks like this:
[Images not permitted - Click here to view it]
Now comes the problem. I overlay another sprite on top of the textbox. This final sprite's priority is 0. However, wherever there is masking on the text, it masks through the textbox itself. Most emulators show it like this:
[Images not permitted - Click here to view it]
which is what I want. Unfortunately, on hardware it ends up looking like this instead:
[Images not permitted - Click here to view it]
Is it just that the GBA can't properly overlay that many sprites? I mean, I can fill the text sprites in so that there is no masking problem, but I just want to know if I'm doing something stupid here. Anyone have any advice? Thanks in advance!
-Arek the Absolute
_________________
-Arek the Absolute
For starters, I have a rotation background (priority 3). On top of that, I draw one sprite, of a character, which is priority 2. This works fine, and shows like this:
[Images not permitted - Click here to view it]
Next, I add another sprite on top of this one. For example's sake, let's make it a textbox, which is just black, and overlayed on the sprite and the background. It's priority is 1. Again, this works fine, and looks like this:
[Images not permitted - Click here to view it]
Now comes the problem. I overlay another sprite on top of the textbox. This final sprite's priority is 0. However, wherever there is masking on the text, it masks through the textbox itself. Most emulators show it like this:
[Images not permitted - Click here to view it]
which is what I want. Unfortunately, on hardware it ends up looking like this instead:
[Images not permitted - Click here to view it]
Is it just that the GBA can't properly overlay that many sprites? I mean, I can fill the text sprites in so that there is no masking problem, but I just want to know if I'm doing something stupid here. Anyone have any advice? Thanks in advance!
-Arek the Absolute
_________________
-Arek the Absolute