I found out that the last patent of GIF is expired!!
http://www.gnu.org/philosophy/gif.html
Since 1 oct 2006 anyone can use it!!
Now... what are we PureBasicers gonna do about ?!
 
  
 
  
 
  ].)
 ].)Lol, according to that date, the last GIF patent have not expired.Pantcho!! wrote:Hi all!
I found out that the last patent of GIF is expired!!
http://www.gnu.org/philosophy/gif.html
Since 1 oct 2006 anyone can use it!!
Now... what are we PureBasicers gonna do about ?!

The Software Freedom Law Center says that after 1 October 2006, there will be no significant patent claims interfering with employment of the GIF format.

Pantcho!! wrote: Since 1 oct 2006 anyone can use it!!

Use PNG maybeHi all!
I found out that the last patent of GIF is expired!!
http://www.gnu.org/philosophy/gif.html
Since 1 oct 2006 anyone can use it!!
Now... what are we PureBasicers gonna do about ?! Twisted Evil Twisted Evil
 :roll:
   :roll:Using PNG images could be useful to get transparency, but fo animation you still have to use GIF images.MadMax wrote:Use PNG maybeHi all!
I found out that the last patent of GIF is expired!!
http://www.gnu.org/philosophy/gif.html
Since 1 oct 2006 anyone can use it!!
Now... what are we PureBasicers gonna do about ?! Twisted Evil Twisted Evil:roll:
I nearly forgot about MNG files, but I have never heard of APNG. However, if we want to have these formats to work in PureBasic, we got to get their file specification and create a PureBasic reader of their structure.Rescator wrote:There is something called MNG too you know and APNG! (PNG animation)
http://en.wikipedia.org/wiki/Mng
http://en.wikipedia.org/wiki/APNG

When I had to, I made animations from still frames, put them in an arraythamarok wrote:Using PNG images could be useful to get transparency, but fo animation you still have to use GIF images.MadMax wrote:Use PNG maybeHi all!
I found out that the last patent of GIF is expired!!
http://www.gnu.org/philosophy/gif.html
Since 1 oct 2006 anyone can use it!!
Now... what are we PureBasicers gonna do about ?! Twisted Evil Twisted Evil:roll:


Code: Select all
InitSprite() : InitKeyboard()
OpenScreen(640,480,16,"untitled")
CreateSprite(0,320,64)
StartDrawing(SpriteOutput(0))
FrontColor($0000FF)
Box(0,0,64,64)
Box(64,0,64/2,64/2)
Box(128,0,64/3,64/3)
Box(192,0,64/4,64/4)
Box(256,0,64/5,64/5)
StopDrawing()
Repeat
	ClearScreen(0)
	
	ExamineKeyboard()
	
	AnimDelay + 1
	
	If AnimDelay = 15
		AnimDelay = 0
		Frame + 1
	EndIf	
	
	ClipSprite(0,Frame * 64,0,64,64)
	DisplaySprite(0,320,240)
	
	If Frame = 5 : Frame = 0 : EndIf
	
	FlipBuffers()
Until KeyboardPushed(1)The support for animated GIF images would save disk space needed by a game, because all frames are saved in one file and they are compressed with the LZW algorithm. This is needed especially if you are making a fighting game where you need every attack to be properly animated.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.