Chaos Project

General => Electronic and Computer Section => Programming / Scripting / Web => Topic started by: Viviatus on March 09, 2009, 03:32:39 am

Title: Tool/Program needed
Post by: Viviatus on March 09, 2009, 03:32:39 am
I've searching the net for weeks now for a little graphic program/tool. In order to make animations more quickly I'd like to have a little tool, that automaticly cuts the single frames into an animationsheet. Since the program I use outputs each frame standalone (exp. fire0001.png, fire0002.png and so on).

So, question is, if anyone knows of such a tool or is able to write a small program which does so.

Any help is aprechiated!
Title: Re: Tool/Program needed
Post by: Jackolas on March 09, 2009, 04:12:44 am
the program I use is game maker... I know, it sounds stupid
it has a option to create animation sheets from multiple files and can create multiple files of animation sheets

original the game cost $15 if you want to buy the full version

but I belief the free version can also do this. not 100% sure though
you need to test it out yourself

http://www.yoyogames.com/make
Title: Re: Tool/Program needed
Post by: Viviatus on March 09, 2009, 06:29:03 am
Quote from: Jackolas on March 09, 2009, 04:12:44 am
the program I use is game maker... I know, it sounds stupid
it has a option to create animation sheets from multiple files and can create multiple files of animation sheets

original the game cost $15 if you want to buy the full version

but I belief the free version can also do this. not 100% sure though
you need to test it out yourself

http://www.yoyogames.com/make



Might be an option, but I don't know if the file I get is usable in rmxp/vx. That's what I'd need that thing for anyways, I should have said so.
Title: Re: Tool/Program needed
Post by: Blizzard on March 09, 2009, 08:22:56 am
If you get a .png file, it should work without problems.
Title: Re: Tool/Program needed
Post by: Viviatus on March 09, 2009, 08:35:53 am
What I'm worried about is whether game maker can handle unlimited frames and if it arranges then in that cut together file the way that rmxp can handle them as well...
Title: Re: Tool/Program needed
Post by: Fantasist on March 09, 2009, 09:44:22 am
I'm not sure, but I think it can. Just try it out.

PS: You know, you could script something in RMXP. There are scripts to save a bitmap in PNG format, right? Just extract the frames, make a script to arrange the specified PNG files and save the output.
Title: Re: Tool/Program needed
Post by: Viviatus on March 09, 2009, 10:23:33 am
Ah, thing is: I can't script :-P Hence I'm asking for help!
Title: Re: Tool/Program needed
Post by: Fantasist on March 09, 2009, 11:10:35 am
OK. I'll do it for you. I'm assuming that the output files are all png files and each image is 192x192 pixels. The idea is that you should put the frames of one animation in it's folder. Then you specify the folder names in the config and the animation sheets will be made. Will that do?
Title: Re: Tool/Program needed
Post by: Viviatus on March 09, 2009, 12:12:09 pm
WHOA? REALLY? Of course that will do! Thanks alot, mate!
Title: Re: Tool/Program needed
Post by: Fantasist on March 09, 2009, 12:33:53 pm
It's done done. Just need to look up something regarding path name parsing.
Title: Re: Tool/Program needed
Post by: Viviatus on March 09, 2009, 12:51:08 pm
Whoa.... that was fast.
Title: Re: Tool/Program needed
Post by: Fantasist on March 09, 2009, 01:04:39 pm
OK. Here it is:

http://www.sendspace.com/file/895nx2

There could still be trouble with large sheets; the game might freeze with a "Script is hanging" error. If you have this problem, I need to remake this using RMVX. Anyway, tell me if you need anything.

Oh, I forgot to include the RGSS102E.dll, but I bet you have it already :D
Title: Re: Tool/Program needed
Post by: Viviatus on March 09, 2009, 01:07:03 pm
Thanks! I'mma try it out!

EDIT:

Works perfect! With this little tool, I can do original Animations within minutes! *muhahahahhas*
Title: Re: Tool/Program needed
Post by: Aqua on March 09, 2009, 03:35:55 pm
*drools*
Woot!

I'd sooo used this, too!
No more (hope I don't jinx it) eye-sore from aligning!!!
Fanta... I LOVE YOU :D
Title: Re: Tool/Program needed
Post by: Blizzard on March 09, 2009, 03:42:04 pm
FTS, how about you post this properly? :)
Title: Re: Tool/Program needed
Post by: Viviatus on March 09, 2009, 03:46:42 pm
I didn't get any errors so far, and I tried on animations having 80+ frames... This is just too... gnnnnnha...

You're a hero Fanta!
Title: Re: Tool/Program needed
Post by: Jackolas on March 09, 2009, 05:27:05 pm
this 1 is awesome :P
Title: Re: Tool/Program needed
Post by: G_G on March 09, 2009, 06:49:38 pm
So whats exactly it do?? Does it take a .gif and take it apart or something?
Title: Re: Tool/Program needed
Post by: Aqua on March 09, 2009, 06:55:58 pm
Quote from: Viviatus on March 09, 2009, 03:32:39 am
I've searching the net for weeks now for a little graphic program/tool. In order to make animations more quickly I'd like to have a little tool, that automaticly cuts the single frames into an animationsheet. Since the program I use outputs each frame standalone (exp. fire0001.png, fire0002.png and so on).

So, question is, if anyone knows of such a tool or is able to write a small program which does so.

Any help is aprechiated!


Quote from: Fantasist on March 09, 2009, 11:10:35 am
OK. I'll do it for you. I'm assuming that the output files are all png files and each image is 192x192 pixels. The idea is that you should put the frames of one animation in it's folder. Then you specify the folder names in the config and the animation sheets will be made. Will that do?


So much info can be learned by the magical power of reading!!! -___-
Title: Re: Tool/Program needed
Post by: G_G on March 09, 2009, 07:04:03 pm
Yea but my small mind doesnt quite get it. So it does take apart a gif?
Title: Re: Tool/Program needed
Post by: fugibo on March 09, 2009, 08:08:27 pm
I assume also that it takes apart a GIF file, but since nothing in the post actually indicates what it does other than export a single file, I haven't a clue.
Title: Re: Tool/Program needed
Post by: Jackolas on March 09, 2009, 08:50:18 pm
for the peep that don't understand it yet

it takes multiple pictures (lose png files)
and make 1 png file like an animation file (the 1 you use for effects in your games)

for example:  30 lose single part png files can be created into 1 animation file that rmxp can use to create battle animations


edit: fixed it
Title: Re: Tool/Program needed
Post by: G_G on March 09, 2009, 08:51:18 pm
thank you jackolas but not thank you for saying Imma less smart peep :V:
Title: Re: Tool/Program needed
Post by: fugibo on March 09, 2009, 09:05:41 pm
Ah, I see. I thought that this bypassed your program, not aided it x|
Title: Re: Tool/Program needed
Post by: Jackolas on March 10, 2009, 03:18:09 am
Quote from: game_guy on March 09, 2009, 08:51:18 pm
thank you jackolas but not thank you for saying Imma less smart peep :V:

srry m8.. fixed it...
had a long day yesterday and after a 5 hour meeting with the other leaders of my on-line community I was kinda short tempered.
Title: Re: Tool/Program needed
Post by: Fantasist on March 10, 2009, 12:10:32 pm
Glad you like it ^_^

QuoteThere could still be trouble with large sheets; the game might freeze with a "Script is hanging" error. If you have this problem, I need to remake this using RMVX.


I still have the feeling it'll happen to someone somewhere... I think I'll do this with the RMVX engine and release it. Thanks everyone :)

EDIT:

http://forum.chaos-project.com/index.php?topic=3020.new#new
Title: Re: Tool/Program needed
Post by: G_G on March 10, 2009, 06:43:40 pm
Quote from: Jackolas on March 10, 2009, 03:18:09 am
Quote from: game_guy on March 09, 2009, 08:51:18 pm
thank you jackolas but not thank you for saying Imma less smart peep :V:

srry m8.. fixed it...
had a long day yesterday and after a 5 hour meeting with the other leaders of my on-line community I was kinda short tempered.



I was just kidding anyways hence the :V: meaning sarcasm I think :P but yea its all good I was just kidding xD