Original Post
Hello everyone,
In every example I have seen that demonstrates sprites, whether it be in books or articles on the net, the author creates a surface for every sprite. Wouldn't it be just as fast and save time to instead load your sprite set into one surfuce, then blit your sprites from there?
This method would allow you to load the bitmap containing all the sprites into one surface, rather than creating individual surfaces for each sprite. Also, if you have any sort of game that dynamically creates and destroys sprites, it seams that this way would be faster because you would no longer have to create and destroy surfaces.
Any thoughts on this? Please correct me if I am wrong, I will wait for some feed back before implementing any sort of sprite engine in my DX wrapper. Thanks.
Edited by - Isolier on 4/9/00 4:17:07 PM