


























Loading...
spritesheet from Kenney.nl
Instead of distributing a PNG image and a separate JSON/XML file for the spritesheet coordinates, the metadata is embedded directly inside the PNG file itself.
You can embed any format like Spritesheet.TexturePacker.JSON or Spritesheet.Aseprite.JSON. This allows for multiple animations to be stored and specified in a single PNG spritesheet.
See bundle.js for a Node.js example of how to embed this metadata programmatically, or use the tool below.
The following XML was extracted directly from the Spritesheet.TextureAtlas.XML text chunk inside spritesheet.png:
Use this tool to embed one or more spritesheet metadata files in your spritesheet's PNG file.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。