Skip to content
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

Open
dacap opened this issue Dec 11, 2018 · 0 comments

Comments

@dacap
Copy link
Member

commented Dec 11, 2018

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):

  • Load/save custom formats, e.g. app.registerFileType{ filetypes="htm,html", onload=function..., onsave=function...} that can call a callback function when a file of the given types are selected
  • Add new inks, e.g. app.registerInk{ id=..., text=... ondraw=function... }
  • Add new tools
  • Add new special editor behaviors (like #1792)

All 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.

@dacap dacap added the scripting label Dec 11, 2018

@dacap dacap self-assigned this Jan 6, 2019

@dacap dacap added this to the v1.2 milestone Jan 6, 2019

@dacap dacap referenced this issue Feb 1, 2019

Open

Aseprite v1.2.14 #1997

16 of 49 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.