@TheShaggyDev
  @TheShaggyDev
The Shaggy Dev | How I do screen shake in Godot @TheShaggyDev | Uploaded February 2022 | Updated October 2024, 38 minutes ago.
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: github.com/theshaggydev/the-shaggy-dev-projects/tree/main/projects/godot-3/screen-shake

Text version of this post: shaggydev.com/2022/02/23/screen-shake-godot

Godot documentation: docs.godotengine.org/en/stable/classes/class_opensimplexnoise.html
How I do screen shake in GodotCustom cursors in GodotMaking a customizable turn-based combat game in two weeksCommunicating between game objects with the observer patternSetter and getter functions in Godot 3 with setgetHow unit selection works in my tactical strategy gameCreating volume sliders in Godot 4Advanced state machine techniques in Godot 410 small ways to make your life easier in GDScriptFree Loopable Game Music11 tips for writing cleaner codeGodot 4 beta + channel update

How I do screen shake in Godot @TheShaggyDev

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER