Yes, effectively sprites are far less time consuming regarding blitter operations involved compared to bobs.
But how to make an efficient "semi-automatic" multiplexer on one or several hardware sprites ?
- Order the objects according to their y pos.
- dispatch the ordered objects into several sprite structures (if into SpriteN a previous object has not finished to be rendered for the Y start pos of the current object, skip to the SpriteN+1..etc.). Compute the sprite words control.
- blit the images of the objects into the sprites structure.
- Do that each frame
And voila ?
|