# HOW TO: Make the Camera Shake

EXT. CAVE LIGHT - DAY

@zoom on 256 195 to 195% in 0

NARR
Here’s an example of the screen shaking.
A few things before we start:
In zooming, the code is: @zoom on X Y to % in S
Of course you’d replace the symbols in the code with numerical values ^^
The X value is a number that is along the x-axis, so it goes from left to right or right to left. It’s on the horizontal line.
The Y-value is a number along the y-axis, so it goes from top to bottom or bottom to top. It’s on the vertical line.
The % is the zoom and it stands for percent (how much your scene is zoomed in).
S is the number of seconds.
If you want the camera to shake fast, your seconds should be less than 1 but not 0.
In the case of @zoom on 256 195 to 195% in 0, the X is 256, the Y is 195, the % is 195 and S is 0.
So, hope you got this down and now we can begin!
Time to make the screen shake.

NARR
First, it will shake horizontally (a horizontal shake can go from either left to right or right to left).

@zoom on 0 195 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1
@zoom on 0 195 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1
@zoom on 0 195 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1
@zoom on 0 195 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1
@zoom on 0 195 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1
@zoom on 0 195 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1

NARR
Notice how I changed the first value only (the X) and I kept it consistent by using that same value.
So, it goes left (to the value 0) and then to the right (to the value 256) and back again.
And then I brought it back to the original zoom that I had at the beginning of this scene (written under the background).

NARR
Second, now it will shake vertically (a vertical shake can go from top to bottom or bottom to top).

@zoom on 256 0 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1
@zoom on 256 0 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1
@zoom on 256 0 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1
@zoom on 256 0 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1
@zoom on 256 0 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1
@zoom on 256 0 to 195% in 0.1
@zoom on 256 195 to 195% in 0.1

NARR
Notice how I changed the second value only (the Y) and I kept it consistent by using that same value.
So, it goes to the bottom (to the value 0) and then it goes to the top (to the value 195) and back again.
And then I brought it back to the original zoom that I had at the beginning of this scene (written under the background).

NARR
What if you want your character to do an animation, like scream while the zoom is taking place?
You need to write either: &CHAR is animation OR @CHAR starts animation right before those fast zooms take place, giving a camera shake effect.
This is because & happens at the same time as @ (same with the command starts).

NARR
End of screen shaking.
Anyways, hope this all helps!
And thank you for checking out this tutorial : )

P.S you can copy this code into your script and test it out
If you have any questions, feel free to ask!

81 Likes

bumpppppppp

Thanks

Bump

bummpp

hey there. is there anyway that my character is talking while the camera shake at the same time? if i use the “&” command, it would just skipped everything

Try puting the character command right before the shaking, like
& CHARACTER is Animation
@zoom ####
the rest of the zoom stuff goes here

No no but the character also talk if its only animation then my character is not talking.

But I already found the solution. Thank you for the help though, I appreciate it xx

2 Likes

Bump

Bump

BUMP!!!

Bump <3

Bump!

Bump

thank god lol i been tryin to figure this out forever

Ha, ha ur welcome if this ends up helping u

How can I make the camera shake slightly?

So S would be a number greater than 1 if you want the zoom to be slower.

Here the zoom lasts 0.1 seconds, just increase the number so the zoom goes slower. But don’t make the number negative since seconds can’t go backwards.

Also Happy Anniversary of the day you joined the Forums

THANK YOU!

No problem