How I do screen shake in Godot

Published: 24 February 2022
on channel: The Shaggy Dev
17,994
549

The basic way to do screen shake is to just apply a random offset each frame to the camera, but in this video I show how I use Godot's OpenSimplexNoise class to generate noise and get a more fluid and customizable screen shake. This can work great for both intense shakes and gentle sways.

Sample source code to compare: https://github.com/theshaggydev/the-s...

Text version of this post: https://shaggydev.com/2022/02/23/scre...

Godot documentation: https://docs.godotengine.org/en/stabl...


Watch video How I do screen shake in Godot online, duration hours minute second in high quality that is uploaded to the channel The Shaggy Dev 24 February 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 17,994 times and liked it 549 visitors.