Computer Science Canada

I need help fading images in or out

Author:  Linksku [ Sun Jun 05, 2011 1:11 pm ]
Post subject:  I need help fading images in or out

What is it you are trying to achieve?
I want to make an image fade in and fade out. I tried using an animated GIF that fades, but it isn't working.


What is the problem you are having?
Either get an animated GIF to animate or use Turing to fade in/out


Describe what you have tried to solve this problem
Codes below


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)

Turing:


var titlePic : int := Pic.FileNew ("images/logo.gif")
Pic.SetTransparentColor (titlePic, 0)

Pic.Draw (titlePic, titleX, 150, picCopy)



Attached is the logo.gif

Please specify what version of Turing you are using
4.1.1

Author:  Nick [ Sun Jun 05, 2011 2:00 pm ]
Post subject:  RE:I need help fading images in or out

you could just draw dots on top of the image which are the same colour as your background. I believe Turing's Sprite modules also support gifs, so you could try that instead.

Author:  Raknarg [ Sun Jun 05, 2011 2:34 pm ]
Post subject:  RE:I need help fading images in or out

You could just use Pic.Blend instead.

Author:  Tony [ Sun Jun 05, 2011 3:41 pm ]
Post subject:  RE:I need help fading images in or out

Pic.DrawFrames


: