Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

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.

sample.png


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  :grin:
 
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.
 
I know this thread hasn't been posted in for over a month, but i just HAVTA know...

can it be modified to make an 8-way character sprite also?

PLEASE... :angel:
 
Ricoman":3ebpfwk2 said:
I know this thread hasn't been posted in for over a month, but i just HAVTA know...

can it be modified to make an 8-way character sprite also?

PLEASE... :angel:
It already supports that. The program itself doesn't know what a "sprite" is, it just lays images on top of each other. You can use it to make face sets if you want (say base face on bottom layer, eyes, hair, facial hair, etc. on other layers) or 8 way characters or whatever you want. It's more of a general purpose layer composting tool.

You just need to provide the appropriate resources. As in, the base 8 way character sprite, 8 way hair, clothes, etc. The program doesn't come with any built-in resources but some people provide those, for example at this site. I'm not sure if they have 8 directional character resources. Nevertheless, if you have such resources (you or someone else made them or found them online), the program would support them.
 
Hans:
Please read my reply to Ricoman above. You can have sprites of any size as long as they fit in the editor (you can also resize the editor to allow for bigger sprites).
 
[TO Whoever Made this software]

If you can add 8 , 4 Way toggle I may want to partner our projects. Basicly we would both promote each other. ON my end I could include a lite or fullversion with my install pack for LastEnd Visual RPG Studios. Join me on the LastEnd.com Forums to talk more about this.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top