Hello all. Before I start, let me say that I have played around with nes development a bit, but it has been a little while since I have done anything so excuse me if my terminology is slightly off or if my questions end up having trivial answers.
I am currently working on a BurgerTime-esque game, just as a project to be working on and something to give me a chance to get familiar with making a larger project for the NES. The problem I have currently run into has to do with the number of sprites allowed using sprite DMA, as well as the number of sprites allowed on a scanline.
Not even including the player sprite(s) and enemy sprite(s), there is a potential for at least 16 sprite tiles - the burger parts - to be on the same scanline. Since there are only allowed 8 tiles (64 pixels) of sprites to be on a particular line at a given time, I attempted to use vblanks to alternate between sets of sprite DMA - for example 5 for the player/enemies and 6 for the burger parts - displaying the required number of tiles. This "works" however it is not a real option as the sprites flicker.
Is there an easy or practical way to put more than 8 sprite tiles on a particular line without this flickering? or should the burger parts be part of the background?
If they should be part of the background, I do not see an easy way to dynamically change the background. For example, how would a burger part be moved down once the player has performed the necessary action if it is part of the background?
I can post small parts of my code if needed, such as how I am attempting to display the larger number of sprites.
Any help, suggestions, or pointing me in the right direction are appreciated. And sorry again if this is a newbish question.
I am currently working on a BurgerTime-esque game, just as a project to be working on and something to give me a chance to get familiar with making a larger project for the NES. The problem I have currently run into has to do with the number of sprites allowed using sprite DMA, as well as the number of sprites allowed on a scanline.
Not even including the player sprite(s) and enemy sprite(s), there is a potential for at least 16 sprite tiles - the burger parts - to be on the same scanline. Since there are only allowed 8 tiles (64 pixels) of sprites to be on a particular line at a given time, I attempted to use vblanks to alternate between sets of sprite DMA - for example 5 for the player/enemies and 6 for the burger parts - displaying the required number of tiles. This "works" however it is not a real option as the sprites flicker.
Is there an easy or practical way to put more than 8 sprite tiles on a particular line without this flickering? or should the burger parts be part of the background?
If they should be part of the background, I do not see an easy way to dynamically change the background. For example, how would a burger part be moved down once the player has performed the necessary action if it is part of the background?
I can post small parts of my code if needed, such as how I am attempting to display the larger number of sprites.
Any help, suggestions, or pointing me in the right direction are appreciated. And sorry again if this is a newbish question.