Login
Back to forumSee the full topicGo to last reply

Posted By

indi
on 2006-02-04
10:51:12
 Re: Xeo3 - Background tiles..... Blog 29/01/2006. (impasse!)

Yes thats what happens, although its even more than that. It only generates the sprite in that rotation when its about to draw it. So if a sprite is animating, and moving, theres a good chance that some frames won't ever be rotated.

Also the cache allows sprites that are used a lot to stay inside the cache, while ones that aren't drift to the top of the list.

So yes. Rotate on demand, but demand is mesured per-rotation and no per-sprite. (i.e. I dont do 4 rotations for a sprite, just the one it needs right now).

Much of this will become clear once the source is released.



Back to top


Copyright © Plus/4 World Team, 2001-2024