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
Problems with screenshake
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#4
RE: Problems with screenshake

(05-23-2012, 09:35 PM)stevenbocco Wrote:
(05-23-2012, 09:26 PM)andyrockin123 Wrote: i understand what you say, it's important that you understand why you are doing what you're doing, but i have "played " around with the script and i do not get the screen to shake Sad
afAmount is intensity, anything above 1 will make your computer vomit :o (try 0.1f-0.5f)
afTime - how long it lasts (in seconds)
afFadeInTime - How long until the full intensity is achieved (should be approximately 1/3 of the full duration)
afFadeOutTime - How long until it stops again, should be about 1/3 of the full duration.

Note that if the fade in/out times aren't long enough, it will stop very abruptly and seem very jerky in game. Hope that helped. I cannot know for sure how long the event is in game or the desired effect you want, but hopefully that gave you a bit more insight on it. Hopefully these values will make it a bit easier for you.

I rate it 3 memes.
05-23-2012, 09:43 PM
Find


Messages In This Thread
Problems with screenshake - by stevenbocco - 05-23-2012, 09:15 PM
RE: Problems with screenshake - by Adny - 05-23-2012, 09:26 PM
RE: Problems with screenshake - by stevenbocco - 05-23-2012, 09:35 PM
RE: Problems with screenshake - by Adny - 05-23-2012, 09:43 PM
RE: Problems with screenshake - by stevenbocco - 05-24-2012, 07:52 AM



Users browsing this thread: 1 Guest(s)