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.

2D All the way! / Splash Screen Help

Author
Message
Giles Papworth
22
Years of Service
User Offline
Joined: 7th Feb 2003
Location: In my own little reality
Posted: 9th Aug 2004 17:49
I have made a fading image function but it seems to be so slow. Can anyone find the problem in this code or find a better, quicker way of achieving this effect:



Cheers people

Its not a bug, Its a feature

If we were meant to stay in this reality games would not exist!
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 9th Aug 2004 23:19
Best to use the Gamma for fading.

At beginning.....
set gamma 300,300,300



for n = 300 to 0 step -5
set gamma n,n,n
sync
next n

Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 13th Aug 2004 11:03
I can't get gamma to work unless i'm in FSEX mode. I made a sprite and used set sprite alpha to fade mine. Pretty much the same code as pincho except making the sprite. And use 255 instead of 300.

Login to post a reply

Server time is: 2025-05-16 12:42:13
Your offset time is: 2025-05-16 12:42:13