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?
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Shake screen when entering a map?

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.

I rate it 3 memes.
07-12-2012, 05:35 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 Adny - 07-12-2012, 06:34 PM



Users browsing this thread: 1 Guest(s)