5Mixer / Asset-Manager

A CLI tool that packages images together

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asset-Manager

A CLI application that packs multiple source textures into a single output texture, alongside a JSON file describe the image layout.

Linux MacOS Windows

Made with:

Features

  • The ability to watch the filesystem. Adding/removing/editing files triggers texture packing.
  • Simple JSON output.
  • Optional recursive discovery of images in source folder.

Demo

Asset-Manager-Demo.mp4
	 █████╗ ███████╗███████╗███████╗████████╗
	██╔══██╗██╔════╝██╔════╝██╔════╝╚══██╔══╝
	███████║███████╗███████╗█████╗     ██║
	██╔══██║╚════██║╚════██║██╔══╝     ██║
	██║  ██║███████║███████║███████╗   ██║
	╚═╝  ╚═╝╚══════╝╚══════╝╚══════╝   ╚═╝
		███╗   ███╗ █████╗ ███╗   ██╗ █████╗  ██████╗ ███████╗██████╗
		████╗ ████║██╔══██╗████╗  ██║██╔══██╗██╔════╝ ██╔════╝██╔══██╗
		██╔████╔██║███████║██╔██╗ ██║███████║██║  ███╗█████╗  ██████╔╝
		██║╚██╔╝██║██╔══██║██║╚██╗██║██╔══██║██║   ██║██╔══╝  ██╔══██╗
		██║ ╚═╝ ██║██║  ██║██║ ╚████║██║  ██║╚██████╔╝███████╗██║  ██║
		╚═╝     ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝╚═╝  ╚═╝


    Execute AssetPacker with flags

    Subcommands:
      help : Print help text

  Flags:
           --sourcePath, -p : Directory that source images are located in
      --destinationPath, -o : File path that the packed texture will be written to
             --jsonPath, -j : File path that the JSON describe the sprite layout will be written to
           --deepSearch, -d : Flag to recurse through subdirectories in asset path
                --quiet, -q : Flag to disable logging
                --watch, -w : Flag to continue to watch for changes after packing
             --maxWidth, -x : The maximum width of the output image
            --maxHeight, -y : The maximum height of the output image

About

A CLI tool that packages images together

License:MIT License


Languages

Language:Haxe 99.2%Language:Shell 0.7%Language:Batchfile 0.1%