Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

If you have played GTA 4, then you have probably been drunk at some stage. This is one of the best intoxicated simulators I have ever seen. It is actually hard or sometimes almost impossible to drive a vehicle while drunk in this game.

I know that a lot of the things that make up this drunk experience are changes to the controls or having random changes in direction, but how would the camera be done?

The camera seems to wave in and out and side to side. It also has changing blur, and other effects going on. Would this be some kind of shader? What are the effects that are used on top of each other to create the experience?

share|improve this question
4  
"If you have played GTA 4, then you have probably been drunk at some stage." Because you must have been drunk to play a GTA game, eh? ;) –  Jon Purdy Nov 10 '10 at 22:04

3 Answers 3

up vote 2 down vote accepted

Some things you could do are sway the camera, delay the controls, make the controls unresponsive or unpredictable, as well as blend in previous frames.

share|improve this answer

Also, a general tip for making a distortion effect is that you can render the scene onto another plane overlaid on the scene, and then warp that plane. This is useful for other things too, because you can have the overlay partially transparent (flash bang effect maybe?).

share|improve this answer

Oh man this game should be used for drunk driving reeducation, because the one thing that I learned about drinking from this game is that the results suck.

I think they were doing a couple of things, although I haven't played it since it was new so my memory may be fuzzy. One big thing you can do is change the FOV. Then you can swirl the camera location around and maybe even the look-at position. Finally, to get truly vertigo inducing, you could skew the frustum.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.