Computer Science Canada .gif assistance |
Author: | venom [ Tue Jan 16, 2007 2:08 pm ] |
Post subject: | .gif assistance |
% The "Pic.DrawFrames" program. % Determine the number of frames in "fliptest.gif" const fileName := "filptest.gif" var numFrames : int := Pic.Frames (fileName) % Load the picture var delayTime : int var pics : array 1 .. numFrames of int Pic.FileNewFrames (fileName, pics, delayTime) % Set the window to fit the picture var w := Pic.Width (pics (1)) + 20 var h := Pic.Height (pics (1)) + 20 View.Set ("graphics:" + intstr (w) + ";" + intstr (h) + ",nobuttonbar") % Display the pictures for i : 1 .. 50 Pic.DrawFrames (pics, 10, 10, picCopy, upper (pics), 50, false) end for for my final project im useing .gif files in my program but i'm running blanks on how to flip the image, i know how to flip a normal image but with this set up i just dont know how >.< |
Author: | apomb [ Tue Jan 16, 2007 7:24 pm ] |
Post subject: | Re: .gif assistance |
Are .gif's even allowed to be used in Turing? i thought not ... this might be your problem? |
Author: | berrberr [ Tue Jan 16, 2007 11:37 pm ] |
Post subject: | Re: .gif assistance |
CompWiz333 @ Tue Jan 16, 2007 7:24 pm wrote: Are .gif's even allowed to be used in Turing? i thought not ... this might be your problem?
Actually .gif's are allowed in Turing ![]() As for the actual question, are you trying to flip an animated .gif file, or are you trying to do something else? Please specify ![]() |
Author: | venom [ Thu Jan 18, 2007 12:11 pm ] |
Post subject: | Re: .gif assistance |
so far im trying to make an rpg and i finshed the players side but not the NPC i need them to be fliped, it wouldn't look good if there back is facing the players now is it ![]() |
Author: | Clayton [ Thu Jan 18, 2007 5:36 pm ] |
Post subject: | Re: .gif assistance |
any decent photoshop-type application should be able to flip the pictures, so if you are using a sprite sheet, flip the sheet and then make the sprites from there. |