"re-ripping" sprites; quest for a common description format - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: "re-ripping" sprites; quest for a common description format (/thread-1978.html)
"re-ripping" sprites; quest for a common description format - donny - Dec 30, 2008 01:14 AM
Hi everyone! I'm new to the forum. I signed up here in fact just so I would have a place to ask these questions!
There is a lot of game art out there. I'm going to be talking about orthogonal 2D game art specifically. So-called "sprites." Those two-dimensional, often having small power-of-two dimensions like 16x32 or something. They're very often "ripped" from commercial games, but occasionally you're lucky you find something completely original (although I consider fan games and prototypes a very legitimate use for "ripped" commercial sprites.)
One of the problems with all these sprites out there, however, is that they aren't generally available in machine friendly formats. They're generally organized organically with no regard for grid alignment or consistent spacing. This makes them rather tedious to use. But there are so many of them. Sometimes it feels like they are so close, yet so far...
So I whipped up a quick program to help in access this vast treasure trove of game art. Right now it simply identifies rectangle-ish regions of an image, guided by your mouse clicks, and then... that's it.
And that's why I'm here!
Once I started thinking about what I wanted the program to do after it had identified the sprites, I realized that I wanted to find out what other game developers would find the most useful.
For what it's worth, the code can be found here:
The most obvious thing the program could do is spit out an image organized into a highly machine-accessible grid, but after that you'll have to make sure the sprites line up properly within their grid cells, work out the animation timing, and generate some kind of glue between the animation and your code. Well this is exactly the kind of software I like making -- tools -- and I'd appreciate your input on what you'd like to get out of sprite animation software.
I'm equally concerned with editor features as well as export formats. Exactly what aspects of "spriting" can be useful for just about every programmer? Is it possible (or wise) to create sprite+animation libs for use with the export format? Or should the export formats aspire to conform to existing libraries? Would it be useful (or wise) to generate animation data that emits more generic cues than "next frame?" (Would you want to design hit boxes or synchronize sound effects from your animation program?)
Alright I think that's enough to get you started. Let me know what you think!
"re-ripping" sprites; quest for a common description format - donny - Jan 5, 2009 04:59 PM
There's now a video demo at http://codebad.com/spritecaster-demo.ogg
"re-ripping" sprites; quest for a common description format - tcIgnatius - Jan 7, 2009 11:28 PM
Interesting, I have actually been working on a similar program called "Spriter". Although from the looks of it your software focuses more on the process of re-ripping, as with mine you copy and paste, which admittedly is not as cool as yours. Otherwise, mine can do palette swaps, animations, and rectangular collision boundaries. Right now it exports the images (a color, and a mask) as tif's along with a data file that contains all the animation/collision/sprite information. I've only written a module to import the data and pictures for REALbasic/SuperSpriteSurface (uses OpenGL), but I have future plans to make a C++/SDL/etc... library. It's also not very user friendly. I plan on seeing how well it works with the game I'm writing before I decide to make it usable for everyone.
Spriter Screen shot:
Generated Sprites sheets:
I say go for it, I found my program really helpful.
"re-ripping" sprites; quest for a common description format - AnotherJake - Jan 7, 2009 11:49 PM
tcIgnatius Wrote:I say go for it, I found my program really helpful.
Now that's a smooth hijack if I've ever seen one