Users browsing this thread: 1 Guest(s)
Sprite Sheet Maker
#31
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
Reply
Thanked by: Struggleton!, SuperFlomm
#32
(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
Reply
Thanked by:
#33
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/3181...heeter.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...
Reply
#34
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
Reply
Thanked by:
#35
The sheet preview itself draws against a white background, but on export the final .png should have proper alpha. Is that not working correctly?
Reply
Thanked by:
#36
(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
Reply
Thanked by:
#37
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?
Reply
Thanked by:
#38
(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.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by:
#39
(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
Reply
Thanked by:
#40
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.
Reply
Thanked by:
#41
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
Reply
Thanked by:
#42
Ah, didn't package those. My bad. Here: https://dl.dropboxusercontent.com/u/3181...images.zip
Reply
Thanked by: larsenv
#43
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?
Reply
Thanked by:
#44
Weird. I'll take another look at my drag&drop code and see if I did something wrong, then.
Reply
Thanked by:
#45
Hmm... Attempting to use the latest version of your application Daxar, and it won't actually let me add any images. Kind of... weird?
Tsunami Bomb - The Simple Truth
We could run away
Leave behind anything paper
Not knowing where we're going to stay
When there's no Mondays

You're part of me, it's so easy to see the simple truth
When I'm in your arms, I feel safe from harm and sorrow too
You're part of me, it's so easy to see the simple truth
But most of all, nothing couldn't be solved when I'm with you
Reply
Thanked by:


Forum Jump: