From Test-Scratch-Wiki
< Eng:Scratch File Format (1.4)(Redirected from Eng:Scratch File Format/Sprite File)
![]() |
Please expand this article or section. You can help by adding more information if you are an editor. More information might be found in a section of the talk page. |
- This is a technical description of the file format. For sprites in general, see Sprite.
A sprite file is used to save a single sprite that can be imported into other Scratch projects. They have the extension .sprite
.
Structure
Perhaps confusingly, Sprite files do not just contain a Sprite object.
They actually contain a Stage object encoded as an Object Table (the same as the project file contents). This is because global variables/lists need to be saved as well.
Unlike a project file, there is no preceding ScratchV02
header or info table; just the single object table for the stage.
Files | |
Structure |
Object Table • Inline Values • Objects • Fixed-format Objects • User-class Objects |
Contents |