MonkeySpotted
JGO n00b  Posts: 4
|
 |
«
on:
2011-12-19 19:20:13 » |
|
Hello,
First of all, I'd like to introduce myself. This is my first post in this forum, although I have been, for some time now, reading quite a lot of posts in this forum.
Me and my friend are creating a 2D game (in plain old SE Java) which involves sprites and .gif files. We have already made quite a bit of progress now. We do have some animated gifs we got from the internet and have already implemented it in the game. Now, I see a lot of spritesheets hanging around the internet, but I can't seem to find any ready-to-use animated gifs out there. The problem is not the spritesheet -> gif procedure per se, but the scarcity of automated tools to make them. So here comes my first question:
Are there any Spritesheet -> Animated gifs tools that can at least ease the process?
It really gets on my nerves when I have to sit down and create a bunch of sprites separately from the spritesheets to then create a gif. This wastes my time considerably and doesn't let me do what I love most, actual coding.
I have seen some tools that have satisfied me to a certain point. spriteBuddy and darkFunction's editor came this close to solving my problem, but the issue was: they, instead of outputting an actual gif, just gave me an xml (which is pretty much useless for me). I liked the way these two editors allowed me to get sprites from a sprite sheet and make a simple animation with them with no effort whatsoever. That said, here's my second question:
Are there any XML -> Animated gifs tools that I can use to parse the xml files to an actual gif?
I've been looking for these tools for a long time, and I can't seem to find ANY of these. I hope you guys can help me.
Thank you in advance, ~MonkeySpotted
|
|
|
|
|
|
|
MonkeySpotted
JGO n00b  Posts: 4
|
 |
«
Reply #2 on:
2011-12-19 19:40:53 » |
|
Hello Riven,
Thanks for the help, but I don't think that's exactly what I'm looking for right now. For what I understood from your code, you send a series of images and convert them into an animated gif, right? What I really am looking for is a tool to take single sprites from sprite sheets of the same size and then position them correctly (like darkFunction does) and then convert them into animated gifs.
Maybe if I could just find a tool that took individual sprites from a sprite sheet I could even make use of your code... Although I do like the idea of an effortless editor.
I'll be sure to bookmark your blog for further reference, though, I found it quite interesting and may have some usage for me in the future!
|
|
|
|
|
Games published by our own members! Go get 'em!
|
|
Riven
« League of Dukes » JGO Kernel      Posts: 5870 Medals: 255
Hand over your head.
|
 |
«
Reply #3 on:
2011-12-19 19:43:51 » |
|
Maybe if I could just find a tool that took individual sprites from a sprite sheet I could even make use of your code...
Do you mean something like: BufferedImage.getSubimage(int x, int y, int w, int h)I assume you have the coordinates laying around somewhere (although preferably they are simply calculated) so why not pull sub-images (sprites) from an image (spritesheet) and feed them into the GIF generator?
|
Hi, appreciate more people! Σ ♥ = ¾ Learn how to award medals... and work your way up the social rankings
|
|
|
MonkeySpotted
JGO n00b  Posts: 4
|
 |
«
Reply #4 on:
2011-12-19 19:48:21 » |
|
The problem is: many of the sprite sheets I have found in the internet don't have a proportional individual sprite location. That means I would have to either way manually cut them up. Maybe with a visual editor it would make things easier...
|
|
|
|
|
ra4king
JGO Kernel      Posts: 3160 Medals: 196
I'm the King!
|
 |
«
Reply #5 on:
2011-12-19 20:11:08 » |
|
Then you have 2 options here: - Use an image editor and make them all the same size - Write to a file the coordinates for each image
|
|
|
|
StumpyStrust
Full Member   Posts: 103 Medals: 1
|
 |
«
Reply #6 on:
2011-12-21 03:05:41 » |
|
Any time sprite comes up the first thing I think of using is GameMaker's Spite Editor. It does not save to .gif but will let you add images from sprites sheets that can be any size and adjust them accordingly. It will also let you do other useful things like colorize, set opacity, sharpen, glow and some basic animation. It will save a sprite sheet as a .png which you should be able to convert into a .gif Hope this helps. 
|
|
|
|
|
MonkeySpotted
JGO n00b  Posts: 4
|
 |
«
Reply #7 on:
2011-12-21 18:19:46 » |
|
Hey StumpyStrust, Thanks for the tip. I'll check it out once I get some free time. I have seen some posts about that Game Maker sprite editor, but many were complaints of how badly done it was. Nonetheless, I'll be sure to try it out. After all, I'm getting on a pretty tight spot here. 
|
|
|
|
|
darkFunction
JGO n00b  Posts: 9 Medals: 1
|
 |
«
Reply #8 on:
2012-02-22 13:34:55 » |
|
hey
I wrote a GIF exporter into darkFunction Editor.
I'll upload it when I get time this week, if you're still interested.
|
|
|
|
|
FireFreek
JGO n00b  Posts: 6
|
 |
«
Reply #9 on:
2012-02-28 21:30:34 » |
|
Not sure if this is what you're looking for, but once I was spriting and thought, "Hey, I wish I could see these animated!" But I didn't have internet at the time so I wrote a tool myself. It's mostly for checking the animation, but it also can save as an animated .gif. The images have to be evenly spaced, however (you can specify sprite height and width). http://thisissilly.x10.mx/spriteviewer.phpEDIT: It seems you don't have them aligned, so this wouldn't really work. Shame.
|
|
|
|
|
Games published by our own members! Go get 'em!
|
|
Longarmx
Jr. Member   Posts: 50 Medals: 1
|
 |
«
Reply #10 on:
2012-03-27 00:20:23 » |
|
I know that you can make gifs in photoshop. Just look up on YouTube how to do it. All you really have to do is cut up the sprite sheet into layers for each frame and put it into a movie format, and then export as a gif. YouTube will also give you a better description on making gifs if you don't get what I mean.
|
|
|
|
|
|