A downloadable tool for Windows, macOS, and Linux

Download NowName your own price

A tool to manage sprite sheets and color palettes for LÖVE projects.


Features

  • Create quads straight on your spritesheet -- no need to ever type out coordinates again
  • Keep your quads neatly organized by giving them descriptive names and grouping them
  • Use the wand tool to create quads from opaque areas automatically
  • Use the palette tool to create quads from areas that have the same color
  • Save quads as a simple lua table.
     return {
      base = {x = 16, y = 27, w = 16, h = 8},
      bubbles = {
        {x = 2, y = 18, w = 5, h = 5},
        {x = 1, y = 25, w = 3, h = 4},
        {x = 10, y = 18, w = 5, h = 3},
        {x = 7, y = 24, w = 7, h = 6},
        {x = 3, y = 8, w = 5, h = 4},
        {x = 10, y = 11, w = 4, h = 3},
        {x = 7, y = 3, w = 6, h = 4},
      },
      lid = {x = 16, y = 7, w = 16, h = 15},
      liquid = {x = 0, y = 32, w = 3, h = 3},
      stand = {x = 32, y = 32, w = 16, h = 16},
    }
        
  • As you expand your sprite sheet, you can re-open this quadfile in Quadtastic to add or modify quads
  • Enable Turbo-Workflow to reload the spritesheet whenever it changes on disk, and to re-export the quads whenever you change them
  • Using libquadtastic.lua, use these quads in your LÖVE projects like so:
      local libquadtastic = require("libquadtastic")
      -- do this once in love.load
      local image = love.graphics.newImage("path/to/spritesheet")
      local quads = libquadtastic.import_quads(require("path/to/quadfile"),
                                               image:getWidth(), image:getHeight())
       -- do this whenever you want to draw the quads
      love.graphics.draw(image, quads.head, 2, 0)
      love.graphics.draw(image, quads.legs, 2, 47)
      love.graphics.draw(image, quads.torso, 0, 15)
        

Credits and tools used

  • LÖVE
  • The m5x7 and m3x6 fonts by Daniel Linssen
  • aseprite by David Kapello. Oh, also, the pixelated Quadtastic UI is my lousy attempt to create something similar to the gorgeous UI in aseprite.
  • luafilesystem
  • lovedebug by kalle2990, maintained by Ranguna
  • Nuklear for guidance on how to write IMGUI
  • affine by Minh Ngo, for reverse transformation
  • xform by pgimeno, for practical ideas related to reverse transformation

More information

Published35 days ago
StatusIn development
CategoryTool
PlatformsWindows, macOS, Linux
AuthorMoritz Neikes
TagsLÖVE, sprites, spritesheet
Average sessionA few seconds
LanguagesEnglish

Download

Download NowName your own price

Click download now to get access to the following files:

Quadtastic for Windows Version 0.5.3 2 MB
Quadtastic for OSX Version 0.5.3 11 MB
Cross-platform .love archive Version 0.5.3 93 kB
libquadtastic.lua Version 0.5.3 1 kB