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
How to make all screen black?
ExpectedIdentifier Offline
Member

Posts: 234
Threads: 10
Joined: Sep 2012
Reputation: 11
#4
RE: How to make all screen black?

(08-27-2013, 03:16 PM)Arbies Wrote:
(08-27-2013, 03:13 PM)sonataarctica Wrote:
(08-27-2013, 03:06 PM)Arbies Wrote: Hello guys, I am working on a new project. I want to be all screen black. You can't see anything. And I'm going to show messages on screen. I will tell the story like that. I know how to show messages but I don't know how to make all screen black. So my messages look better with all screen black.

FadeOut(0); //This will fade the screen out instantly.

FadeIn(5); //This will fade the screen back in over 5 seconds.
Oh thanks, I thinked FadeOut and FadeIn works for another thing.

And there is one more question, I want to make my message stay on the screen like 30 seconds, how can I make it stay 30 sec with codes?

When using messages, the length the message is displayed for is the third parameter, for example this message would display for 15 seconds:

SetMessage("Message1Category", "Message1Text", 15);

Closure ModDB page:

[Image: 16LO8Sx]
08-27-2013, 03:19 PM
Find


Messages In This Thread
How to make all screen black? - by summit - 08-27-2013, 03:06 PM
RE: How to make all screen black? - by summit - 08-27-2013, 03:16 PM
RE: How to make all screen black? - by ExpectedIdentifier - 08-27-2013, 03:19 PM
RE: How to make all screen black? - by summit - 08-27-2013, 03:21 PM
RE: How to make all screen black? - by summit - 08-27-2013, 03:27 PM



Users browsing this thread: 1 Guest(s)