Author Topic: Implementing GIF images??  (Read 8183 times)

0 Members and 1 Guest are viewing this topic.

Offline Skiessi

  • Major(1)
  • Posts: 41
    • asd.
Re: Implementing GIF images??
« Reply #20 on: April 18, 2007, 09:54:17 am »
I prefer PNG-strips. PNG doesn't have support for animation but it's free, it has all other features of GIF, (a better compression method) and it supports alpha-channel (which are good for effects) :|

Offline Sytrus

  • Flagrunner
  • ****
  • Posts: 862
  • English Teech0r
    • AtlanticProject
Re: Implementing GIF images??
« Reply #21 on: April 18, 2007, 10:13:23 am »
But the thing is not the format itself, it's the thing being animated.

Offline VirtualTT

  • Veteran
  • *****
  • Posts: 1026
Re: Implementing GIF images??
« Reply #22 on: April 18, 2007, 11:05:37 am »
1. Even Mario had animated sceneries looooong time ago so Soldat deserve them too...
2. Gif can't be used for animated sceneries. This file format can only handle grayscale or indexed layers (this means few colours and no semi-transparensy).
3. Creating even simple animated sceneries is a hellish job. Not many people are creating even normal sceneries.
4. Animated sceneries don't demand any server-client synchronization.
5. I think that the simplest way to bring animated sceneris into Soldat without changing pms file format is to use special files (something like .sas - Soldat animated scenery) that contain several png files merged together (without any modifications, just glued together into single file), so name of big file is name of the scenery, names of sub files are time how long each frame should be displayed.
6. Soldat Graphics doesn't demand much memory because of low resolution and adding animated sceneries won't affect this...
« Last Edit: April 18, 2007, 11:12:14 am by VirtualTT »

Offline nEsCafE_dUdE

  • Major(1)
  • Posts: 32
  • Gunner
Re: Implementing GIF images??
« Reply #23 on: April 20, 2007, 11:04:29 pm »
wow... it would be so damn great... Soldat will be more damn realistic on this...

Offline The Philanthropist

  • Camper
  • ***
  • Posts: 284
  • .:|TGIF|:. Philly
Re: Implementing GIF images??
« Reply #24 on: April 20, 2007, 11:23:43 pm »
I think it would be cool, but maybe it would need a frame limit, like 200-300, to keep people from making things that take really long times to load and then cause massive slowdown.

The problem with limits is that the animation stops possibly during gameplay. Then what?

Offline MofoNofo

  • Veteran
  • *****
  • Posts: 1019
Re: Implementing GIF images??
« Reply #25 on: April 21, 2007, 12:59:01 am »
-It would loop.