Sprite image
Jump to navigation
Jump to search
Sprite image | ||
---|---|---|
Extension |
LSP |
|
Occurence |
LBA1 & LBA2 |
|
Colour |
|
|
Programs supporting this format | ||
References | ||
Sprite files contain small images that are shown in the game as overlays over the screen. They can be for as actors (called sprite actors), bullets, and other moving objects.
Specification:[edit]
This page may need some cleanup. It should be reformatted to use wikitext instead of <pre> tags. |
Sprite format specification, based on LBA1. open question: where's the number of frames in a sprite defined? Abstract: the sprite format works similar to the brick format, but there are multiple entries of run-length encoded data in one file. For the run-length algorithm see BRK-file specification. Detail: *)***File Structure*** May the sprite file contain n frames: 0. dword: offset to the 0. frame (from file start) 1. dword: offset to the 1. frame (from file start) ... n. dword: offset to the n. frame (from file start) the frames are structured in the following way: 0. byte : offset X 1. byte : offset Y 2. byte : width 3. byte : height following bytes : run-length encoded data
Information provided by: El Muerte and Omni