A parser and renderer for Aseprite animations in the LÖVE 2D game framework.
Peachy is a Lua library that parses and renders Aseprite animations within the LÖVE 2D game framework. It loads Aseprite's exported JSON data and corresponding spritesheets to manage and display animations directly in LÖVE projects. The tool solves the problem of manually handling animation frames and timing by providing a structured API for animation control.
Game developers using the LÖVE framework who create their sprite animations in Aseprite and need a streamlined way to import and control those animations in their games.
Developers choose Peachy because it offers a direct, lightweight integration between Aseprite and LÖVE, eliminating the need for custom animation systems. Its support for Aseprite features like frame tags and slices provides a more efficient workflow compared to manual sprite sheet handling.
A parser/renderer for Aseprite animations in LÖVE. :peach:
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Seamlessly loads and parses Aseprite JSON exports with frame tags and slices, simplifying the import workflow as demonstrated in the example code.
Provides functions like play, pause, stop, and tag switching, enabling easy management of animation states without manual timing calculations.
Supports Aseprite slices as named regions with custom user data, useful for hitboxes or UI elements, as shown in the slices documentation.
Includes an onLoop callback system to trigger functions when animations loop, enhancing game interaction without extra boilerplate code.
Aseprite exports non-relative image paths by default, which LÖVE cannot load, requiring manual JSON edits or workarounds as admitted in the limitations.
Slices do not animate, limiting their use for dynamic elements like animated hitboxes, a restriction acknowledged in the README's limitations section.
Requires frame tags to be set up in Aseprite even for single animations, adding an extra step that can be error-prone for simple projects.