Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Fade Text/Image In/Out

Author
Message
Rknight
20
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 25th Sep 2003 09:10 Edited at: 25th Sep 2003 09:12
Two questions, very related.

How do I fade text in and out? So that one piece of text is fading out while another is fading in over it?

How do I fade images (bmp/jpgs) in and out the same way?

Just downloaded the trial version, thinking of getting the full.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Sep 2003 13:37
1. You will have to make your text into an image first.
2. Create Sprites from your images and SET SPRITE ALPHA. Do it in a loop and you can fade them in and out. At the simplest level:



BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 25th Sep 2003 14:04 Edited at: 25th Sep 2003 14:04
Got a Codebase snippet for this short of thing - have a search for it.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester

Login to post a reply

Server time is: 2024-09-21 01:15:38
Your offset time is: 2024-09-21 01:15:38