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
Flashback?
mrsomeepicrandomguy Offline
Member

Posts: 74
Threads: 15
Joined: Feb 2013
Reputation: 0
#1
Flashback?

Hey, i was wondering how you made like a "flashback". Like thee screen gets a litle white, like in the original game. Is there a script for it? Smile
03-10-2013, 05:52 PM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#2
RE: Flashback?

A flashback, but you only want the screen effect?

"Veni, vidi, vici."
"I came, I saw, I conquered."
03-11-2013, 08:59 AM
Find
mrsomeepicrandomguy Offline
Member

Posts: 74
Threads: 15
Joined: Feb 2013
Reputation: 0
#3
RE: Flashback?

(03-11-2013, 08:59 AM)JustAnotherPlayer Wrote: A flashback, but you only want the screen effect?

Yes, the screen effect and then i think i can figure out how to olay the sound by myself.
03-11-2013, 09:04 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#4
RE: Flashback?

Ah. Here it is. Please note that i haven't test it.
PHP Code: (Select All)
void StartEffectFlash(float afFadeInfloat afWhitefloat afFadeOut); 

Fades the screen to white.

afFadeIn - time in seconds until screen is white.
afWhite - determines to which percentage the screen fades to white (1.0 = completely white)
afFadeOut - time in seconds until screen is back to normal again.

I think you need another script for the sound.

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 03-11-2013, 10:12 AM by PutraenusAlivius.)
03-11-2013, 10:07 AM
Find




Users browsing this thread: 1 Guest(s)