Page 1 of 2
Problem with animated gif
Posted: Tue Jun 03, 2008 3:22 pm
by andres
Hello
I am trying to use an animated gif but I am having four different problems:
1- The original file has 50 frames, but the imported one has only 38 frames.
2- The original movie plays good on Safari, but in Revolution the quality of some frames is horrible.
3- There is no way to control the framerate.
4- There is one white pixel on the upper left corner that does not come form the original file.
Help on any of these issues is greatly appreciated.
Thanks
Andres
Posted: Tue Jun 03, 2008 9:08 pm
by Mark
Hi Andres,
Revolution is not very good at playing GIFs, but GIF isn't a pretty format either. Can't you use separate pictures instead?
Best,
Mark
Posted: Tue Jun 03, 2008 9:17 pm
by andres
Hello Mark
We decided to go with the extra work of a flash animation using RevBrowser.
It finally works now with a workaround for the semi-transparent window shapes that prevents the Revbrowser to work in windows.
Thanks
Andres
Posted: Tue Jun 03, 2008 9:19 pm
by Mark
Hi Andres,
Do you mind to tell why you made this choice?
Best,
Mark
Posted: Tue Jun 03, 2008 9:28 pm
by andres
Hello Mark
Well, we started with a quicktime movie, which works beautiful, with a simple line of code. However, for an unknown reason, the movie (which is an intro movie) displays centered on the stack's top left corner and cropped showing only a quarter of the movie. I found this same problem posted here but no solution yet.
Unfortunately not all win computers have quicktime installed and we decided to move to animated gifs. Then, after experiencing all these problems we ended up with the only solution.
Andres
Posted: Tue Jun 03, 2008 9:33 pm
by Mark
Hi Andres,
Still, what's wrong with a bunch of pictures, displayed in a loop?
Mark
Posted: Tue Jun 03, 2008 9:41 pm
by andres
Ooops sorry
Well, a flash animation, when created in Flash, is by far smaller in size.
Andres
Posted: Tue Jun 03, 2008 10:30 pm
by Mark
Thanks for the clarification. File size must have been extremely important then.
Mark
Posted: Tue Jun 03, 2008 10:38 pm
by andres
Hello Mark
To our business model it is, since all our games are distributed as downloads from our website.
These numbers will be different for each particular case, but in this one the flash animation is 170K while all frames as images are 8.5M.
Andres
Posted: Tue Jun 03, 2008 10:56 pm
by Mark
Hi Andres,
I don't see why cool games have to be small, as long as they are worth downloading.
With some clever compression techniques, it should be possible to reduce the size of the pictures to less than 100K, even if it is a full-screen picture.
Best,
Mark
Posted: Tue Jun 03, 2008 11:02 pm
by andres
Hello Mark
Download size is very important.
All our frames are less than 100K, but they are almost a 100 frames.
If you know a better compression than jpg or png for photo-quality images I will give it a try.
Thanks
Andres
Posted: Tue Jun 03, 2008 11:08 pm
by Mark
Hi Andres,
Why is download size that important?
I don't know anything better then JPEG at the moment, but there might be other ways to get the filesize down. My first thought was to use JPEG, though.
Best,
Mark
Posted: Tue Jun 03, 2008 11:17 pm
by andres
Yes Mark
I wish we could just use a qt movie, like we wanted the first time.
But we have not been able to solve the corner position problem.
Andres
Posted: Tue Jun 03, 2008 11:23 pm
by Mark
Andres,
Why is download size so important? It really fascinates me.
Mark
Posted: Tue Jun 03, 2008 11:32 pm
by andres
Mark
The faster the download, the sooner the end user starts playing.
Is a matter of keeping the interest alive.
Andres