🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Sprite Format

Started by
0 comments, last by VisualLR 24 years, 7 months ago
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

Advertisement
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,

This topic is closed to new replies.

Advertisement