I ahave tweaked my Tile arranger app, so it can be used to produce massive amounts of sprite .bmps with a single mosue click each. I jhave incorporated it with a single package with the Tile arranger Behold
You can see two previews in the screenshots:
one previes what's currently under the mouse, and will be selected after you click
one is the selected set, and will be saved when pressed enterInstructions:Setup:
1. Install to default dir (overwrite the old ones if it has to)
2. Agree on messing up your registry (i will post registry messup removal tips later on)
3. Right click on a PNG and you have two options now (object leech and tile arranger (see below))Usage:[Arrows]
change size of sprite[A S]
change sheet margin[Z] [X]
change frame padding 
change frame number (can get up to 32, will crash after that, sorry)[TAB]
Change saving directory [Left click]
select current sprite[Right click]
select mask colour (will be paintted to magic pink while saving][Mouse wheel and wheel click]
- move / zoom the sheet[space]
change sprite picking mode, there are two:1.
Divides the sheet into tiles2.
Captures what's currently under the mouse cursor[ENTER]
Save current sprite.
When you pick the directory, it will create two files there (unless you already used that dir):count.txt
: keeps the current sprite number for generating file namesdb.txt
: saves some useful info about the file (in format: filename|width|height|frame_number|)
Then just click on sprites like mad, and press enter to save them (it will indicate that you did that)
OK, I made an application that can arrange tiles into uniform tilesets, so you don't have to write different code for each tileset.
It is a crucial tool for my VGG, and I will surely make more of these (for sprites and other stuff). Sharing is caring whatsoever, so with few usability tweaks it's ready to meet the public.Setup:
DO NOT CHANGE THE INSTALL PATH, OR IT WILL NOT WORK!!!
Also, it will ask your permission to add stuff to your registry, say yes
ps. it handles only png files (a subject to change it there's a demand)Usage is as simple as that:1. Open file using context menu2. Arange tiles so that they match the mock-block yellow tiles
Pick a yellow mock-block tile with left mouse button and browse the tileset for appropriate tile.
Press TAB to toggle whether yellow tiles or tileset tiles should appear on top.
On the top-left you can see a preview of your yellow tile, and the tile that you are hovering your mouse above at the moment for reference. On the top-right you have a preview of full tileset, (switchable with tab, as I aid before)Some more keys:Q W
- change tile sizeA S
- change margin (top-left)Z X
- change tile padding (spacing)Left mouse button
- Select tileRight mouse button
- pick mask colour (this will be applied while saving)Mouse wheel
- zoomMiddle mouse button
- hold and move the tileset aboutSpace
- Preview (hold)Enter
- Save3. Press Space to preview if it tile well 4. press enter to open the file save dialog
PS I just produced 335 sprites in about 20 minutes.