Texture Packer for VS CodeEasily create texture atlases for Phaser, Pixi, and more by grouping images into a folder! How it worksRight click on a folder with images and then select The If RequirementsThis extension only works on desktop versions of VS Code and cannot be run in the browser. Atlas Configuration Optionsname: default: The file name of the generated texture atlases. format: default: This value is automatically detected for Phaser 3 or Pixi projects. maxWidth: default: The maximum width of an atlas. maxHeight: default: The maximum height of an atlas. fixedSize: default: Will make atlas pot: default: Force atlases to be power of two. padding: default: extrude: default: allowRotation: default: Allow textures to be rotated in the atlas. shareIdentical: default: Textures that are the same but have different filenames will only be packed once to optimize atlas size. allowTrim: default: Trim empty whitespace to optimize atlas size. trimMode: default: keepExtensions: default: Keep file extensions in texture frame keys otherwise only the filename will be used. textureFormat: default: algorithm: default: maxRectsMethod: default: maxRectsBinMethod: default: deep: default: Include textures in nested folders when outDir: default: Relative path from For example, saving to the the parent folder would be: Got an issue?This extension is very new and not yet tested in a wide variety of projects or workflows so let us know if something's not working or if there's a use-case that you'd love to see! Reach out on Twitter @iamsupertommy or @ourcadehq Join the Ourcade Discord: https://discord.gg/p3vfese Release Notesv0.0.6November 3rd, 2022Add JSON Schema for See Change Log for notes on previous releases. |