Thierry.Cabuzel at gial.be
Tue Nov 19 14:08:59 CET 2002
> -----Original Message-----
> From: James Mills [mailto:prologic at comcen.com.au]
> On Tue, Nov 19, 2002 at 10:30:33AM +0000,
> memsom at interalpha.co.uk wrote:
> > > > Does anyone have a working program that'll display a
> gif image in linux
> > > > please ?
> > >
> > > I have written borland pascal source to display a 256
> color BMP image
> > > and usually run a batch conversion of the required images
> to BMP format.
> > > GIF contains compression and is thus more complex than BMP.
> > > My source should compile on Free Pascal. But if you find source
> > > for reading GIF files I would like to get a copy as well.
> > You also have the added problem that the algorythm used by
> GIF is something
> > like LHZ which is patented and that the GIF format is also
> on dubious legal
> > ground. You may find that a lot of open source projects
> will ignore the GIF
> > format, and getting info on the format may be tricky. I
> know people like Eric
> > Raymond support the 'Burn all gifs' campaign.
> > Matt
> Well, someone please tell me then. I haven't developed games much in
> linux, let alone pascal. What's the best way to do graphics (sprites)
> for game development? I'm starting small, space invaders clone. But I
> need some help/ideas of what people generally do.
Well, for games, prefer a plain bold BMP images. Why? The trick in games is
to do a mix between space (memory/disk), speed, and simplicity. For Images
BMP is very simple, very quicky but use a lot of space. For the majority of
games BMP images are good and perhaps the best choice you can do. But If
your game is graphics intensive in the sense of quantity (Gigs of images)
then the best deal could be on the space... All depend of the kind of game
you plan to write.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal