The VG Resource
Sprite Sheet Maker - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: Main Content (https://www.vg-resource.com/forum-103.html)
+--- Forum: Site Discussion (https://www.vg-resource.com/forum-106.html)
+--- Thread: Sprite Sheet Maker (/thread-27036.html)

Pages: 1 2 3 4 5 6 7 8


RE: Sprite Sheet Maker - Ploaj - 08-06-2015

In addition to the sheet maker, I thought a quick icon maker would also be helpful.
[Image: ctoUV0I.png]

It's incomplete and has a few notable bugs, but it's functional.

--Download--

Instructions:
Drag the sheet onto the window.
Select the area of the sprite you want to use.
Press save to save as "(sheetname)_Icon" in the same folder as the sheet.

Additional things.
  • Sliders are for slighty adjusting the position in the icon. (WIP... x is top and y is bottom)
  • You can manually type in the size of the rectangle (the arrow keys can make it grow but not shrink)
  • Erase top-left color is self explanatory
  • Crop is also self explanatory (crops the area around selected part)
  • Alignment for where is appears on the icon
  • Scaling for size


Erase color and select sprite may be a little confusing. I mostly added it for myself, but it can be useful.
  • "Erase Color" erases the top-left most color in the selection box from the entire sheet.
This feature is specifically for the "Select Sprite" button.
  • "Select Sprite" is for when the sprite already has transparency around it.
Press that button, then click on a sprite to make the rectangle select it.

Example:
Press "Erase Color" to erase the green color.
[Image: zhLhWGG.png]
Then press "Select Sprite" and click on the desired sprite to select around it. (Basically what the two check boxes do, but it makes it faster to select around a sprite...)
[Image: 4i4BLmu.png]
Not the best explanation, but I find my self making the icons this way most of the time, so I'd say it's helpful...


Next time I update it I'll add a way to drag around to select. That's such a basic feature, but I forgot :p


RE: Sprite Sheet Maker - Struggleton! - 08-06-2015

(08-06-2015, 09:17 PM)Ploaj Wrote: In addition to the sheet maker, I thought a quick icon maker would also be helpful.
-snip-

That's really great! So much better Cute


RE: Sprite Sheet Maker - Daxar - 08-07-2015

Mine has had a simple version of this built-in for a while now... but apparently I forgot to upload it. Whoops.

https://dl.dropboxusercontent.com/u/31816885/programs/SpriteSheeter.zip (Also home of all future updates so I don't have a ton of random .zip's clogging my Dropbox)

- Export TSR-sized icons of the current frame in the Animation Preview (Not as fully-featured as Ploaj's by any means, but hey, it's there)
- Blank animation names now don't take up vertical space on the sheet (as per request)
- Use the up and down arrow keys in the animation name textbox for faster editing (cause clicking on each animation to edit the name sucks)

Not the longest changelog, but it's better than updating the program then not actually uploading it for weeks... sorry about that...


RE: Sprite Sheet Maker - larsenv - 08-08-2015

Daxar - Thanks for the new version of the tool, however when I make my sprite sheet I'm seeing the sprites without an alpha channel.

Could you possibly fix this please? Or am I doing something wrong?

Thanks. I love that the icon's based on the Spriters Resource favicon. Tongue


RE: Sprite Sheet Maker - Daxar - 08-08-2015

The sheet preview itself draws against a white background, but on export the final .png should have proper alpha. Is that not working correctly?


RE: Sprite Sheet Maker - larsenv - 08-09-2015

(08-08-2015, 08:52 PM)Daxar Wrote: The sheet preview itself draws against a white background, but on export the final .png should have proper alpha. Is that not working correctly?

Unfortunately, the alpha channel on the export isn't working.

Sad


RE: Sprite Sheet Maker - Daxar - 08-09-2015

Does the image(s) you're importing have proper alpha? Could you link the image and I'll test it here to see if it's the image's fault?


RE: Sprite Sheet Maker - puggsoy - 08-09-2015

(08-08-2015, 08:52 PM)Daxar Wrote: The sheet preview itself draws against a white background, but on export the final .png should have proper alpha. Is that not working correctly?

I haven't used it (yet), but would it be possible to give it a sort checkerboard background for transparency, similar to GIMP? This would help with telling the difference between transparency and actual white (not only with backgrounds but also parts of sprites themselves), as well as partial transparency like anti-aliasing.


RE: Sprite Sheet Maker - larsenv - 08-10-2015

(08-09-2015, 03:27 PM)Daxar Wrote: Does the image(s) you're importing have proper alpha? Could you link the image and I'll test it here to see if it's the image's fault?

[Image: fs_ArwSetUp_a.tpl.png?dl=1]

I've tried a whole set of images, exported them and still no alpha channel.

If it helps, it was exported via Wiimms SZS Tools (wimgt)...

Sad


RE: Sprite Sheet Maker - Daxar - 08-10-2015

Alpha looks fine to me after exporting:

[Image: testal.png]

This IS a greyscale PNG image, so it could just be Qt not reading it properly. It might be worth a check to see if converting to 32-bit helps.


RE: Sprite Sheet Maker - larsenv - 08-12-2015

I figured out the alpha channel thing, it actually works, I just didn't see it.

And I finally got it compiled on Mac with the source code:

https://mega.co.nz/#F!AgEjBZ5Y!Scea0rWDKxixLMadOhCHzg

The problem is, these images weren't included in your source code:
  • down.png
  • icon.png (Got this one, but probably not the right size.)
  • media-play.png
  • media-stop.png
  • minus-2-256.png
  • next.png
  • pause.png
  • plus-icon.png
  • prev.png
  • up.png

...so I had to find my own.

Could you please send me the ones you used for the builder?

Thanks, I'm hoping to build hundreds of sprite sheets with this. Smile


RE: Sprite Sheet Maker - Daxar - 08-12-2015

Ah, didn't package those. My bad. Here: https://dl.dropboxusercontent.com/u/31816885/junk/images.zip


RE: Sprite Sheet Maker - larsenv - 08-12-2015

Thanks.

Also on my Mac the application crashes when I drag and drop images onto the window.

Do you know why it's doing this?


RE: Sprite Sheet Maker - Daxar - 08-13-2015

Weird. I'll take another look at my drag&drop code and see if I did something wrong, then.


RE: Sprite Sheet Maker - Dazz - 08-27-2015

Hmm... Attempting to use the latest version of your application Daxar, and it won't actually let me add any images. Kind of... weird?