GetCoord (a sprite coordinate retreiver)

Varren

Top 50 In #FortniteMostWanted
Sonic Team Junior
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:
This lets you be able to arrange hud items and get tne output x and y values without needing to second-guess them yourself


5dSGld3.jpg


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

BHyaWnw.jpg


Switch the layer to continuous (two dots) to exclude it from the output log
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]
 

Attachments

  • getcoord-[aseprite].zip
    367.6 KB · Views: 422
  • srb20004-hud.gif
    srb20004-hud.gif
    3.3 MB · Views: 784
  • srb20005-textures.gif
    srb20005-textures.gif
    15.5 KB · Views: 682
Last edited:
That sounds pretty cool, but is there a way to set where the HUD elements are anchored to so that they stick to the correct side of the screen in non-green resolutions?

As for judging, may I cooperate with a non-judge to help test this?
 
That sounds pretty cool, but is there a way to set where the HUD elements are anchored to so that they stick to the correct side of the screen in non-green resolutions?

As for judging, may I cooperate with a non-judge to help test this?


Not at the moment, not sure either because the api is very limiting in what it allows me to do right now, but I can see if there is a way to attempt that soon!


And sure, go for it!
 
Last edited:
A neat tool! I'm excited to see someone making srb2 tools with aseprite's scripting extensions.
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top