[go: up one dir, main page]

Aseprite-Api

A library for creating aseprite scripts in Haxe
https://github.com/KinoCreatesGames/aseprite-hapi

To install, run:

haxelib install Aseprite-Api 0.9.5 

See using Haxelib in Haxelib documentation for more information.

README.md

Haxe Aseprite API

Aseprite API written in Haxe for creating Aseprite scripts with the Haxe programming language.

Created by KinoCreatesGames

Software: Aseprite

Documentation: Aseprite Documentation

Dependencies

To work with Haxe Lua code please follow the instructions here in the "Getting started with Haxe/Lua" section.

Features

  • Access to all API functions
  • Intellisense/Autocomplete for writing Lua Aseprite API code.
  • Type safe
  • Compile's to Lua
  • Leverage Haxe language when writing Lua code.

Example Code

//Creates an altert within the application.
App.alert({
		title: "Haxe Warning",
		text: "This is a warning from Haxe",
});
// Starting the sprite sheet exporter.
App.command.ExportSpriteSheet();

Note: When compiling, always compile in vanilla mode. -D lua-vanilla

for any changes to the API, please raise a pull request.

Contributors
Kino
Version
0.9.5
Published
4 years ago
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub