Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
Hello, I've just discovered GBDK development and I'm still reading up on it.
I was wondering how games like Mario Picross are able to work within the 10 sprite per line limit, given that it was working with 15x15 grids:
I assume that this was actually modifying the background layer and that only the animated elements such as the timer, hammer/chisel and Mario were within the sprite layer. Would this be the case?
Another example, although it is the NES, would be the memory game from Mario Bros 3:
Measuring the cards, they're three tiles wide and four tiles tall and given six cards per row (and a highlighting ring), they would clearly be beyond the sprite limit. However, the cards are animated when you select them. So, perhaps they're rendered as a background, the animations are rendered as sprites and then when the animation is finished, it's only the background layer displaying again?
I'm just curious and would love any insight into how they worked around these limits.
Offline
Parl wrote:
I assume that this was actually modifying the background layer and that only the animated elements such as the timer, hammer/chisel and Mario were within the sprite layer. Would this be the case?
There's no real reason why the time should be made with sprites. The general rule is to put as much as possible in the BG layer, as long as it doesn't have to move around freely. The clock animates, but stays in one place, so it's a perfect job for the background layer. Same with the card game. Even the card flip animation could reasonably be all BG, just by modifying tiles. The cursor is most likely done with sprites, however.
Offline
If you use BGB to emulate this game, you can easily answer your question by having a look at the VRAM viewer (right click -> Other -> VRAM viewer). If you do so, you will realize that nitro2k01 is right. The only sprites on your screenshot are the hammer, the chisel and the arrows that indicate the current position.
Offline
That's really interesting. I originally approached this thinking that the background layer was mostly static.
It makes sense, otherwise games like the Picross example wouldn't be possible.
Thank you.
Jonas wrote:
If you use BGB to emulate this game, you can easily answer your question by having a look at the VRAM viewer (right click -> Other -> VRAM viewer). If you do so, you will realize that nitro2k01 is right. The only sprites on your screenshot are the hammer, the chisel and the arrows that indicate the current position.
I hadn't even though of that. Thanks for the tip!
Last edited by Parl (2017-01-23 16:28:22)
Offline