Archived

This topic is now archived and is closed to further replies.

Sprite Format

This topic is 6596 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I wanted a few suggestions on which would be the better way to implement sprites in a game. My ideas so far are:

1. Have a big bitmap file with all the frames for a certain sprite.

2. Have one little bitmap file for each frame

and

3. Grab the sprites from a bitmap file and compile them into a single file where each frame is next to each other (this would be a custom file format, not a BMP like 1 and 2).

Im leaning to the third one, but I wanted to know if there was a better way of doing it that I havent thought of...

thanks!

------------------
Luis Sempe
visuallr@netscape.net
http://www.geocities.com/SiliconValley/6276

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I made a 2d smooth side scroller and what i did was I had one big bitmap, with the all frames in it of all badguys, then one of all weapons, then one of all explosions, and then i would load them accordily.
it worked pretty good, with no noticible loading time for about 10 pictures,

Share this post


Link to post
Share on other sites