A downloadable Aseprite script

Grid2Size is a collection of two Lua scripts for Aseprite that either double or half the size of the sprite grid, most useful when used as a keyboard shortcut.

What they do:

  • Grid2Double.lua doubles the size of the grid; Grid2Half.lua halves it.
  • The scripts are provided separately to allow for two different keyboard shortcuts, to be defined by the user.
  • Grid2Half.lua will not divide the grid size if it's already at 1x1 pixels.
  • You must have a sprite selected for the script to work.
  • It does not open a dialog window, to be as unintrusive as possible.
StatusReleased
CategoryTool
Rating
Rated 4.7 out of 5 stars
(6 total ratings)
Authorkid marscat
TagsAseprite, extension, lua, lua-script, mod, script, tool

Download

Download
grid2size_0_2.zip 1.7 kB

Install instructions

How to install:

  • In Aseprite, go to File > Scripts > Open Scripts Folder. This should open an Explorer window at <Aseprite program folder>/scripts.
  • Copy the files Grid2Double.lua and Grid2Half.lua to this folder and in File > Scripts select Rescan Scripts Folder.
  • The scripts should now be available for use.

Instructions:

  • While editing a Sprite, select either File > Scripts > Grid2Double or File > Scripts > Grid2Half, and the scripts will double or halve the grid size automatically.
  • You can also bind the scripts to different keyboard shortcuts by going to Edit > Keyboard Shortcuts.... For more information, read the Aseprite documentation.

In case of a bug, or any other kind of unintentional behavior, feel free to contact me at kidmarscat [at] gmail [dot] com or leave a comment on the Grid2Size download page, kidmarscat.itch.io/grid2size

ChangeLog

Date Version What changed
2024-09 0.2 Updated to match the latest API; slight optimizations.
2019-12 0.1 First Release.

Comments

Log in with itch.io to leave a comment.

The wrong script seems to have been uploaded when this was updated this month.

That's absolutely correct, fixing this now.

(+1)

There it goes, thank you for letting me know!

This is super handy. Changing the grid size in most editors is a pain.

doestn work on latest aseprite beta

I'm working on Aseprite v1.3-beta6-x64 and it works just fine—I actually use it constantly while making pixel art so I would have found a bug by now, I'm sure. I'll need more information about this if there's anything actually wrong with it. Please let me know if you can.