Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 I need help fading images in or out
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Linksku




PostPosted: 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



logo.gif
 Description:
 Filesize:  79.28 KB
 Viewed:  62 Time(s)

logo.gif


Sponsor
Sponsor
Sponsor
sponsor
Nick




PostPosted: 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.
Raknarg




PostPosted: 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.
Tony




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

Pic.DrawFrames
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: