View Single Post
Old 06 March 2016, 18:03   #5
majikeyric
Registered User
 
majikeyric's Avatar
 
Join Date: Oct 2015
Location: France
Posts: 82
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 ?
majikeyric is offline  
 
Page generated in 0.04295 seconds with 11 queries