Welcome!
 Packages
 Extensions
 Programs
 LBA 1
 HQR
 VOX
 LBA 2
 HQR
 VOX
 ILE
 OBL
For administrators:
Admin CP
Login

Specification of LBA sprites (*.lsp)

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

(Specification provided by Omni)
Copyright © 2004/2007 by ChaosFish and Zink | Write to us
Recommended screen resolution is 800x600, or higher.
1 SQL queries executed. Page rendered in 0.003 seconds.