Sprite Mix: An Offline Sprite Generator (version 1.3)

Oi!

Making sprites can be a pain, especially when you need to make many NPC sprites from scratch. I've always liked the idea of just making the body parts and clothing articles and mixing them to create a variety of sprites. It's similar to what you see in some 2D MMORPGs, but my main inspiration was the Charas Project (http://charas-project.net/), which offers an online program that allows you to mix and match different images to create your own sprite. Charas has its problems though, like only supporting a fixed sprite template and being online, the offline version isn't much better. Other sprite generators exist, but none of them were satisfactory enough for my own needs, so I figured I'd make my own. The result is Sprite Mix.

Image

Some of the features of Sprite Mix include supporting virtually unlimited number of layers, the ability to change the color and opacity of individual layers, loading and saving several image file formats, and some more that you could read about in the readme file. No actual images are provided with the program. I used sprites by the Half-Kaizer Construction Project (HKCP) for testing, so you might want to check that out.

Sprite Mix is a C# application that allows you to merge several layers into one image, and also edit individual layers a bit. Being a C# program, it is tied to the .Net framework and therefore having version 2.0 or later of the .Net framework installed is required. Windows Vista comes preinstalled with version 3.0 I think, and for the rest of you (Windows XP mainly), you could download it at Microsoft's website. It's a nice framework to have anyway, as other applications might require it (think Java runtime).

This is the download link for Sprite Mix v1.3

Version History:
1.0 - August 19, 2008:
- First release
1.1 - August 20, 2008:
- Added several keyboard shortcuts (W, S for moving layers up and down, Del to delete layers)
- Added the ability to add several layers at once by selecting multiple files in the open file dialog
1.2 - August 21, 2008:
- Added X, Y, Width and Height to layer options to allow moving layers and resizing them (thanks to Xilef  for the idea)
- Altered the layout a bit and changed the size of the image preview panel to 450 pixels instead of 400
1.3 - October 21, 2008:
- Added a custom icon (thanks Xilef!)
- You can now resize the window to accomodate for sprites of any size
- The full source code is now available with the program

Please check the attached Readme.txt file for instructions and usage information. I only tested this on 3 computers, so I'm not even sure it'd work (make sure you have the latest .Net redistributable), so please report any bugs. I'm also open to suggestions and ideas.
This is incredible and stands out away from the other sprite generators.
What would be good is if you could "nudge" the pieces left, right and up incase they look slightly off.
But yes, 10/10. Would this work for any kind of template? VX for example?
I might start making a sprite piece pack for this.
Can I just say that the simplicity is what makes me like this most.
EDIT: If you need an icon artist to make an application icon for this then I would be happy to do so  😀
Thanks, I really appreciate your input!

A nudging feature is a great idea. I'll try to have that in the next version. As for templates, it should work for any template regardless of size or organization, as the size of the resulting image depends only on the size of the first layer (typically the body/base template). All layers should have the same size for best results. The preview area is limited to 400x400 pixels for now and any templates bigger than that might not completely appear in the program (but it should still save them correctly). I doubt there are many templates that big, but I could add a scrollbar or make the program window bigger if there are.

missingno wanted to make a sprite pack as well so maybe you guys could discuss that idea and I'd be happy to make any changes to the program that you'd require.

An icon would be awesome, though I'm not really sure what an icon that represents this program could look like. Feel free to take a shot at it if you want.

Thanks again for your reply!

EDIT:
Just released a new version. You can now move and resize individual layers to make them fit better with other parts. The link in the first post was updated.
The canvas size is rather small for certain types of sprites, so why don't you make the entire window resizable but keep a minimum size and the buttons stay locked in their position?
That would be great.
EDIT: And possibly if the graphic is greater than the canvas have scroll bars appear
I have PM'ed you the icon I made  :shades:
385kb should be small enough (Seeing that XP has them at 400+kb I'm impressed with myself)
I promised I'd release the source code for this 2 years ago and never got to it. I also had an updated version where you can have frames of any size but I didn't release it before. Someone emailed me asking about the program and I noticed that the old link was dead, so I updated the latest version (including the source code) and updated the topic. It's not likely I'll be supporting this program any more, but the source code is available for anyone who wants to expand on it.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=54091