Ahh our old friend is going to be FREE

Everything else that doesn't fall into one of the other PB categories.
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

thamarok wrote:Sure these methods work too, but in my earlier post in this topic I said:
By the way, if GIF images are going to be officially supported by PureBasic, I think the support for animation is the first aim; meaning that 2D game development will get much easier and you don't need each frame of an image as a separate file.
The support for animated GIF images would save disk space needed by a game, because all frames are saved in one file...
Blah blah don't tell such a stupid shit. It is even possible to put all frames in one frameset you silly guy. Never heard of ClipSprite()? Professional games would always do it this way, none would put them into a gif file(wtf. you could make AVIs with 2D Positional Audio Sound, but that wouldn't be a dynamic way).

http://images.google.de/images?svnum=10 ... btnG=Suche


[EDIT]
Look at this one: http://www.lf2.net/ a fighting game, and all animations are in one file, but no animated files!
bye,
Daniel
thamarok
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 06, 2006 1:37 pm

Post by thamarok »

I know about ClipSprite() and Little Fighter 2. You are right, but it was just an idea I was talking of.
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

AFAIK, gif also uses a frame dispose/overlay approach which can reduce size considerably.

Be neat if there was a way to do that with some other formats, which would really pull the size down. Or is there?



BTW, having a bad day, Darkdragon, or are you just plain rude?
Dare2 cut down to size
Pantcho!!
Enthusiast
Enthusiast
Posts: 538
Joined: Tue Feb 24, 2004 3:43 am
Location: Israel
Contact:

Post by Pantcho!! »

YOU GUYS ARE STEPPING OUT OF THE SUBJECT

I dont develop games and clips and spirtes

for my knwolege it was available already in Danilo Sprite lib 4 years ago!

all i want is a animated gif support thats it!

any buyers???
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

Dare wrote:BTW, having a bad day, Darkdragon, or are you just plain rude?
Sorry, it's just annoying he said it isn't possible to load multiple frames out of one image. It is possible!

Maybe thefool is infecting me? Too much MSNM ... . :wink: :lol:
bye,
Daniel
thamarok
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 06, 2006 1:37 pm

Post by thamarok »

DarkDragon wrote:
Dare wrote:BTW, having a bad day, Darkdragon, or are you just plain rude?
Sorry, it's just annoying he said it isn't possible to load multiple frames out of one image. It is possible!

Maybe thefool is infecting me? Too much MSNM ... . :wink: :lol:
Well, it was not pretty nice to read your post. And I didn't say anything, I suggested some good ideas.
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

thamarok wrote:Sure these methods work too, but in my earlier post in this topic I said:
By the way, if GIF images are going to be officially supported by PureBasic, I think the support for animation is the first aim; meaning that 2D game development will get much easier and you don't need each frame of an image as a separate file.
The support for animated GIF images would save disk space needed by a game, because all frames are saved in one file ...
Still after the example which showed you that it also works with only one bmp or jpg or png file you said it doesn't work. ;-)

Sorry for being rude :-) .
bye,
Daniel
thamarok
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 06, 2006 1:37 pm

Post by thamarok »

Well no problem, aren't we all sometimes rude for each other? That is the culture of programming.

(If someone has something to complain, then .... do what ever you want :) )
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1285
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

Most people now adays want more than 256 colors in their image.

That being said, I also think PureBasic should support as many image formats as possible simply for flexability.
Image Image
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

Paul wrote:Most people now adays want more than 256 colors in their image.

That being said, I also think PureBasic should support as many image formats as possible simply for flexability.
What is the current and complete list of encode & decodes that PB supports?

- np
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1285
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

Look in Help File under "ImagePlugin"

Read
-------
BMP
JPG
PNG
TGA
TIF

(and according to help file TGA and PNG alpha channels are ignored so these formats are not fully supported... of course other parts of help file state that alpha channel is supported in TIF and PNG)


Write
-------
BMP
JPG
PNG
Image Image
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

Paul wrote:Look in Help File under "ImagePlugin"

Read
-------
BMP
JPG
PNG
TGA
TIF

(and according to help file TGA and PNG alpha channels are ignored so these formats are not fully supported... of course other parts of help file state that alpha channel is supported in TIF and PNG)


Write
-------
BMP
JPG
PNG
Is there any future to there being more added? Even if it's just a library
set from Fred (or Crew). I know there are other DLL's and libraries out
there that I can use to get any format, either encode or decode. But I
don't want to ever have to worry about rights, etc.

- np
Post Reply