Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azerion/h5-texture-unpacker
Allows you to unpack your Html 5 texture files
https://github.com/azerion/h5-texture-unpacker
atlas h5-texture-unpacker html5-game-development texture-atlas texture-unpacker texturepacker
Last synced: about 2 months ago
JSON representation
Allows you to unpack your Html 5 texture files
- Host: GitHub
- URL: https://github.com/azerion/h5-texture-unpacker
- Owner: azerion
- License: mit
- Created: 2019-11-01T09:41:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T07:32:01.000Z (about 2 years ago)
- Last Synced: 2024-04-14T22:47:14.873Z (8 months ago)
- Topics: atlas, h5-texture-unpacker, html5-game-development, texture-atlas, texture-unpacker, texturepacker
- Language: TypeScript
- Size: 788 KB
- Stars: 10
- Watchers: 6
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![npm version](https://badge.fury.io/js/%40azerion%2Fh5-texture-unpacker.svg)](https://badge.fury.io/js/%40azerion%2Fh5-texture-unpacker)
# h5-texture-unpacker
Simple CLI tool that allows you to unpack your existing Texture atlasses provided that you have the JSON file availableGetting Started
---------------
First you want to install a fresh copy of the plugin.
```
ale@computer:~$ npm install @azerion/h5-texture-unpacker -g
```
Now you'll be able to use the command:
```
ale@computer:~$ unpack
Usage: unpack -i [imageFile] -a [atlasFile] -o [outputDir]
```Usage
-----
```
ale@computer:~$ unpack
Usage: unpack -j [jsonFile] -o [outputDir]Options:
--version Show version number [boolean]
--atlasFile, -i The input texture image [string] [required]
--jsonFile, -j The input JSON configuration [string] [required]
--outputDir, -o The output folder [string] [required]
--verbose, -v Show log messages [boolean] [default: false]
-h, --help Show help [boolean]copyright Azerion 2021
```TODO
----
- [ ] Add support for XML
- [ ] Format validation
- [ ] parse/process trimmed/rotation from jsonF.A.Q.
------
### My atlas format [json/xml/csv] is not supported!
We'd love to include more format as we go, but for now will only add the ones we need, if there's anything you'd like to add or suggest feel free to add a ticker or create a Pull RequestCredits
=======
Created with https://github.com/alexjoverm/typescript-library-starter.git
Example assets by [Kenney](https://www.kenney.nl)Disclaimer
----------
We at Azerion just love playing and creating awesome games. We aren't affiliated with Phaser.io. We just needed to unpack some awesome texture for our awesome HTML5 games. Feel free to use it for enhancing your own awesome games!
h5-texture-unpacker is distributed under the MIT license. All 3rd party libraries and components are distributed under their
respective license terms.