Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Rid of Sepia color
pawsUp1703 Offline
Junior Member

Posts: 45
Threads: 16
Joined: Jan 2011
Reputation: 0
#1
Getting Rid of Sepia color

I have a problem I used

FadeSepiaColorTo(15.0f,1.0f);

to get a sepia coloured screen but

FadeSepiaColorTo(0,0);

doesn#t make the screen normal again...
does anybody has a solution for this?

It doesn't matter if you love him, or capital H.I.M.
Just put your Paws Up, 'cause you were Born This Way baby!
02-21-2011, 04:13 PM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#2
RE: Getting Rid of Sepia color

1.0f should be the normal value if I remember correctly.

02-21-2011, 04:15 PM
Find
pawsUp1703 Offline
Junior Member

Posts: 45
Threads: 16
Joined: Jan 2011
Reputation: 0
#3
RE: Getting Rid of Sepia color

(02-21-2011, 04:15 PM)Pandemoneus Wrote: 1.0f should be the normal value if I remember correctly.

tried it but it also didn't work..

It doesn't matter if you love him, or capital H.I.M.
Just put your Paws Up, 'cause you were Born This Way baby!
02-21-2011, 04:37 PM
Find
Tottel Offline
Senior Member

Posts: 307
Threads: 9
Joined: Nov 2010
Reputation: 0
#4
RE: Getting Rid of Sepia color

I haven't used this before, but I wouldn't use 0 for the second parameter (2nd value), since that is the speed at which you fade colour. And well: 0 speed doesn't sound that good. :p
02-21-2011, 09:47 PM
Find
pawsUp1703 Offline
Junior Member

Posts: 45
Threads: 16
Joined: Jan 2011
Reputation: 0
#5
RE: Getting Rid of Sepia color

(02-21-2011, 09:47 PM)Tottel Wrote: I haven't used this before, but I wouldn't use 0 for the second parameter (2nd value), since that is the speed at which you fade colour. And well: 0 speed doesn't sound that good. :p

hmm sounds like the truth to me what you said but when i use Fadin or fadeOut with 0 at speed it works...
I'll test it anyway Smile

It doesn't matter if you love him, or capital H.I.M.
Just put your Paws Up, 'cause you were Born This Way baby!
02-22-2011, 06:40 AM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#6
RE: Getting Rid of Sepia color

FadeSepiaColorTo(15.0f,1.0f);
Means that you set the sepia to 15 with the speed of 1.0f. This probably means that it takes 15 secs before it reaches 15. However, when you set it to:

FadeSepiaColorTo(0.0f,0.0f);
You tell it to change to 0 with the speed 0. Since there is no "speed" there is no change. Correct should be:

FadeSepiaColorTo(0.0f,1.0f);
(Change to 0 with the speed of 1.)

[Image: mZiYnxe.png]


02-23-2011, 01:53 AM
Find




Users browsing this thread: 2 Guest(s)