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
Shake screen when entering a map?
Wrathborn771 Offline
Junior Member

Posts: 45
Threads: 10
Joined: Jun 2012
Reputation: 0
#3
RE: Shake screen when entering a map?

(07-12-2012, 05:35 PM)andyrockin123 Wrote: StartScreenShake(float afAmount, float afTime, float afFadeInTime, float afFadeOutTime);

Is what you're looking for. afAmount is the intensity of the shake; do not exceed 0.5f unless you plan on giving people seizures. afTime is how long it lasts; afFadeIn/FadeOut determine how long the screen shakes until it reaches the max effect.

Hope that helped.
Sorry, I'm really awful at scripting D:
Could you help me with it?
I want it to shake for 3 seconds, is that possible?
Thanks
07-12-2012, 06:05 PM
Find


Messages In This Thread
RE: Shake screen when entering a map? - by Adny - 07-12-2012, 05:35 PM
RE: Shake screen when entering a map? - by Wrathborn771 - 07-12-2012, 06:05 PM
RE: Shake screen when entering a map? - by Adny - 07-12-2012, 06:34 PM



Users browsing this thread: 1 Guest(s)