Skip to content

A lua library for making Aseprite scripts & extensions

License

Notifications You must be signed in to change notification settings

RampantDespair/Aseprite-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Aseprite-Library

A lua library for making Aseprite scripts & extensions

Report Bug Request Feature
License

Aseprite
Lua

About The Project

This project was made to remove the hassle of having to constantly look for functions on the api page.
With that in mind, this lua library lets view functions and fields on your project itself.

Installation

  1. Download the Lua extension on the VSCode Marketplace

From here you have 2 choices:

  1. Download the library file and paste it into your project anywhere

OR (Better, because using this method will make you able to stay synced to this repository.)

  1. Add the Aseprite-Library repository as a submodule to your project by running the following command git submodule add https://github.com/RampantDespair/Aseprite-Library lib/Aseprite-Library

  2. Add the following to your .vscode\settings.json file (if it doesn't exist, just create it)

{
    "Lua.workspace.library": [
        "lib\\Aseprite-Library\\Aseprite-Library.lua"
    ]
}
  1. Start writing your script :)

Example

If you want to see a real usage example, you can go check out my Aseprite-Extension.

Important

Do not import the library file into your actual script (dofile/require), because this library is to be used strictly in development, not in production.

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request.
You can also simply open an issue with the tag "enhancement".
Any contributions you make are greatly appreciated.

Acknowledgments

About

A lua library for making Aseprite scripts & extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages