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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
It's 2:20 Am, and I am frustrated...
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#5
RE: It's 2:20 Am, and I am frustrated...

(07-03-2013, 01:33 AM)HumiliatioN Wrote: First of all I see you have FadeIn and FadeOut in same section so.. and you need Addtimer as well.

Don't do that Tongue

Having them in the same place is good, it means FadeOut(0) is called instantly making the screen black, then the next line FadeIn(10) means it will take 10 seconds to fade back in, the parameter being provided is already a measurement of time, so there's no need to add a Timer for it. That's the ideal way to have a fade in at the start of the map, though it looks like OP already knew that!

(07-03-2013, 05:32 AM)Pshyched Wrote: The message time is not a float.

Yes it is.

SetMessage(string& asTextCategory, string& asTextEntry, float afTime);

afTime - determines how long the message is displayed. If time is < =0 then the life time is calculated based on string length.

(This post was last modified: 07-03-2013, 10:57 AM by Adrianis.)
07-03-2013, 10:55 AM
Find


Messages In This Thread
It's 2:20 Am, and I am frustrated... - by Sanshi - 07-03-2013, 01:21 AM
RE: It's 2:20 Am, and I am frustrated... - by Adrianis - 07-03-2013, 10:55 AM



Users browsing this thread: 2 Guest(s)