Advertisement

Sprite Format

Started by November 25, 1999 09:24 PM
0 comments, last by VisualLR 25 years, 3 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

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