Shake Quake Screen Shaking

by Avidanimefan
Make your games have a shake effect of the screen.
Written for a friend, this Screen shake effect works by using a "soft loop".

Simple to add to projects.( copy and paste or include the demo.)

Simple to use. By adjusting the 4 variables you can:

Adjust the intensity of the shake effect.
Control the direction of the effect as well.
Adjust the duration of the effect.

Latest update- Fixed an issue and added some visuals for testing.

Just a thought, you might want to include a simple map and stuff so people can actually play the demo without having to include it in a project. :3
In response to Lavitiz
I may do that thanks.