This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------------------------------- | |
--Bulk Import Sprite Sheets -- v0.1 | |
----------------------------------------------------------------------------------------------- | |
--[[Instructions: | |
1. Open your sprite sheets in Aseprite. | |
2. Close any files that you do not wish to slice/import as sprite sheets (this process will be applied to all open files!) | |
3. Open the script | |
4. Enter your desired settings, some are optional | |
5. Click Import |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Transfer foreground/background colors across indexed or non indexed sprites | |
-- WARNING: Disable Palette Edit mode before using! | |
---------------------------------------------------------------------------- | |
--script settings | |
---------------------------------------------------------------------------- | |
--set this to true to auto close the dialog after a color is set | |
local closeAfterAnySet = false | |
--set this to true if you want to show the background color elements in the dialog window |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function showDlg() | |
local dlg = Dialog("Sample UI") | |
dlg | |
:newrow{always=true} | |
:label{ id="intro1", text = "This is some boring text to make the dialog larger" } | |
:label{ id="intro2", text = "(would be nice to have \\n support for multiline btw)" } | |
:separator{ text="Testing" } | |
:entry{ id="data1", label="Row1", text="Lorem ipsum" } | |
:entry{ id="data2", label="Row2", text="dolor sit amet" } | |
:separator{ } |