New perl script, animator.pl

Brainstorm ideas of possible additions to the game. Read this before posting!

Moderator: Forum Moderators

Forum rules
Before posting a new idea, you must read the following:
Post Reply
Boucman
Inactive Developer
Posts: 2119
Joined: March 31st, 2004, 1:04 pm

New perl script, animator.pl

Post by Boucman »

OK, this little script will parse the data/unit/* files of your wesnoth directory and use the units images to build animated gifs of the image.

the gifs are created in the current directory

this is my first attempt ever at using perl, and all I know, I learnt from Illogiq's script, but it work for me :D

I've attached an example of gif created by the script

it might be possible to add a background image, but I've not figured out how to do it yet....

oh, it uses an external program called "convert" wich comes with the ImageMagick tools....
Boucman
Inactive Developer
Posts: 2119
Joined: March 31st, 2004, 1:04 pm

Post by Boucman »

well, I've continued, and I have merged my animator script with the unit.cgi script....

result is attached.

it's really funny to look at all the little guys jumping around on their tree :lol:
Post Reply