
-----------------------------------
the_short1
Sat Apr 24, 2004 2:29 am

[Tutorial] Using .GIF Images In Turing! YES its posible!!!!
-----------------------------------
Ok... ever wonder how u could put a picture like this into Turing?? 
 http://www.adgraphics.com/images/3ddesign/CanadaFlagAnimated7552.gif

Here it is folks... I have known about this for a while know and i though i would share with u my knowledge.... YES!!!! u can use GIF images in TURING!!! You cant just go: 
Pic.Draw (pic,0,0,"pic.gif") but noone said compsci was that easy  
ok.... here is the simplified version of my code... 
Code:

var picnum, pic : int := 0
loop
if picnum not= 8 then
picnum += 1
else      
picnum := 1    
end if    
pic := Pic.FileNew ("can" + intstr (picnum) + ".BMP")    
Pic.Draw (pic, maxx div 2 - 75, maxy div 2 - 50, picCopy) 
end loop 

Looks simple eh?... note above wont work without the pictures... 
just wanted to show its not much coding... the downloadable one below explains it all in the use of commenting..... Plus below is also some instructions that u need to know.. 

First off... its almost mandatory to have 'Irfanview' to do this... 
www.irfanview.com 
irfamview is only 800 Kb and its free... no spyware.. No crap.. Its awesome

First Step: 
open the .gif in irfanview 
go to 'options' 
click on extract all frames 
save to a location on ur hard drive 
*** u can rename the files using irfanviews BATCH rename/conversion in the 'file' menu... or u can do it by hand to make the file name short with numbers at the end... *** note for my tutorial start at the number one.. 

Ok.... now u should have a bunch of pictures.... lets say... 
can1.bmp
can2.bmp... 
etc"¦  no zeros before the numbers! Or you'll have to change this line to:
("can0" + intstr (picnum) + ".BMP") or worse if u have more then one zero appear.. easier if u don't..
Now the magic... ***download the file bellow...  

hope this inspires young minds to make cooler programs with animated pictures... and hopefully some brownie points or some compsci bits  
if u want an example of how benificial this can be.... go download my Jail break remake in source code... it has an animated zergling....!!!

Hope That Helps, Edited For Spelling And Spaces On Jan15th By Short1 