This is a Lua script for Aseprite that extracts HUD coordinates or creates TEXTURES data using sprite cel layers in the program
It can also be used to prototype on screen elements and copy their positions for later use
It is very simple to use, and all you need to do in the end is ctrl+c the log and paste anywhere in a wad/pk3 or script for use
Usage:
To enable, open aseprite, and go through 'File -> Scripts -> Open scripts folder' to place it in the scripts folder
If you use aseprite and are tired of counting pixels (and is the sole reason why I made this), then it may be useful to you :)
[spoiler="Other notes]
Due to the aseprite api not being flexible enough, features such as using sprite groups can not be done at the moment.
sprites inside group folders can still be read, but the entire group will not be treated as one entire cel
[/spoiler]
It can also be used to prototype on screen elements and copy their positions for later use
It is very simple to use, and all you need to do in the end is ctrl+c the log and paste anywhere in a wad/pk3 or script for use
Usage:
This lets you be able to arrange hud items and get tne output x and y values without needing to second-guess them yourself
You can make a background layer for reference, and switch the layer to continuous (two dots) to exclude it from the output log
You can make a background layer for reference, and switch the layer to continuous (two dots) to exclude it from the output log
This lets you be able to form a TEXTURES group and get the definition to paste inside of a TEXTURES lump of a wad
Switch the layer to continuous (two dots) to exclude it from the output log
Switch the layer to continuous (two dots) to exclude it from the output log
If you use aseprite and are tired of counting pixels (and is the sole reason why I made this), then it may be useful to you :)
[spoiler="Other notes]
Due to the aseprite api not being flexible enough, features such as using sprite groups can not be done at the moment.
sprites inside group folders can still be read, but the entire group will not be treated as one entire cel
[/spoiler]
Attachments
Last edited: