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.

DarkBASIC Professional Discussion / D3D Text not fading?

Author
Message
Mugen Wizardry
User Banned
Posted: 27th Jul 2010 01:17
Hi. What is wrong with this code?

I need the text to fade in, then rotate 3 times, then fade out

then exit the loop



Thanks!

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
RedFlames
18
Years of Service
User Offline
Joined: 25th Aug 2007
Location: Germania
Posted: 27th Jul 2010 02:16 Edited at: 27th Jul 2010 22:40
There were a few problems with your code, and how it handle the different "phases" (fade in / rotate / fade out). They have to be seperated so that it doesn't increase or decrease the alpha while rotating etc.

here is how I'd do that:

If there's something you don't understand, don't bother asking.

[And i really hope that formula to make the " = 359.5" speed-independent does work, did that by heart ]

Login to post a reply

Server time is: 2026-07-25 05:32:37
Your offset time is: 2026-07-25 05:32:37