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
Introduction problem
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#1
Introduction problem

Ok here is what I want to do:

////You click on Play game (or something) and the game starts

The screen is black, you can only hear something.
after 23 seconds, the screen suddenly fades to the map.

How can I do this? I've had some scripting experience so I know how stuff works.

[Image: 25F7U37.png]
08-26-2012, 04:19 PM
Website Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Introduction problem

FadeOut(float afTime);
Fades the screen to black.
afTime - time in seconds until the screen is completly black

FadeIn(float afTime);
Fades the screen back to normal.
afTime - time in seconds until the screen back to normal


FadeOut(0);
Make a new timer and use FadeIn

Trying is the first step to success.
08-26-2012, 04:21 PM
Find
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#3
RE: Introduction problem

(08-26-2012, 04:21 PM)beecake Wrote: FadeOut(float afTime);
Fades the screen to black.
afTime - time in seconds until the screen is completly black

FadeIn(float afTime);
Fades the screen back to normal.
afTime - time in seconds until the screen back to normal


FadeOut(0);
Make a new timer and use FadeIn
Dangit I almost had it... Thanks anyways, it worked! I appreciate it!

[Image: 25F7U37.png]
(This post was last modified: 08-26-2012, 05:10 PM by Melvin.)
08-26-2012, 05:09 PM
Website Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: Introduction problem

Good thing you tried Smile I'm stuck too right now, and i could do something else i guess... But i can't get myself to do it, before i get an answer Sad

Trying is the first step to success.
08-26-2012, 05:38 PM
Find




Users browsing this thread: 1 Guest(s)