New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script in extensions #1949
Labels
Milestone
Comments
dacap
added a commit
that referenced
this issue
Apr 3, 2020
It still need some work to associate the command to menus easily. Related issues: #1403 #1949 aseprite/api#20 https://community.aseprite.org/t/lua-script-extension-and-menu-api/5085
zaghaghi
pushed a commit
to zaghaghi/aseprite
that referenced
this issue
Apr 30, 2020
It still need some work to associate the command to menus easily. Related issues: aseprite#1403 aseprite#1949 aseprite/api#20 https://community.aseprite.org/t/lua-script-extension-and-menu-api/5085
zaghaghi
pushed a commit
to zaghaghi/aseprite
that referenced
this issue
Apr 30, 2020
… identified as "groups" (aseprite#1949)
dacap
added a commit
that referenced
this issue
Oct 7, 2021
Added a new Events object with :on() and :off() methods to start or stop listening to a specific event respectively. This also allows to add several callbacks for the same event. Replaced the temporal Site.onChange & Sprite.onChange implementations. Related to several issues (enable more possibilities for): #138, #1403, #1949, #2965, #2980
Some users added some comments about a possible API: https://community.aseprite.org/t/registering-new-file-formats-in-extensions/16611 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
There are plans to include scripts in extensions (#1403, #1928) and here I'll take note about some ideas that scripts might provide when are installed as extensions (i.e. scripts that run when Aseprite starts):
app.registerFileType{ filetypes="htm,html", onload=function..., onsave=function...}
that can call a callback function when a file of the given types are selectedapp.registerInk{ id=..., text=... ondraw=function... }
// Recent ideas about the design of this feature here: https://community.aseprite.org/t/registering-new-inks-in-extensions/14494All of this must be really considered because the complexity of scripts and APIs is huge and sometimes it doesn't worth to add such complexity when C++ is preferred.
The text was updated successfully, but these errors were encountered: