A downloadable asset pack

Screen shake for Godot 4 with nine kinds of motion. One node, one line to call it. Free, MIT licence.

$Camera2D/ScreenShake.shake(0.5)

Nine kinds of motion

  • All around, left and right only, up and down only, or along a direction (a blow, a blast, a shot).
  • Twist: the camera turns without sliding.
  • Recoil: pushed one way, it springs back with a bounce (landings, punches, gun kick).
  • Zoom punch: a quick zoom in and back, or out.
  • Rumble: a steady vibration for engines, earthquakes, a boss charging.
  • Sway: a slow nausea drift with a gentle roll: dizziness, poison, a ship at sea.
  • Presets: light hit, heavy hit, explosion, gunshot, landing, earthquake, engine, dizzy, seasick, impact zoom.

Why this one

  • Every hit is readable: each call starts with a clear jolt, then smooth noise that fades out. Light hits stay light but visible, big ones stack up.
  • Keeps your camera working: only its own offset, rotation and zoom are added and removed.
  • Slow motion and freeze frames do not slow it, and it stays in step when recording with Movie Maker.
  • Camera2D and Camera3D.
  • Accessibility: one intensity value (0 turns shaking off) for your options menu.

Quick start

1. Copy addons/almios_screen_shake into your project.

2. Add a ScreenShake node as a child of your camera.

3. Call shake(0.3) for a light hit, preset("explosion") for a blast, sway(0.8, 4.0) when the hero is poisoned.

The download has a demo project: every kind of shake on its own key, with the exact call shown on screen.

Compatibility

Godot 4.3 and later, tested on 4.3 and 4.7. Forward+, Mobile and Compatibility renderers, desktop and web.

Want the whole hit?

This shake is one piece of the Game Feel Kit: hitstop, camera kick, slow motion, hit flash, squash and stretch, sparks, impact frames and damage numbers, all from one line: Juice.hit(enemy, dir, "heavy").

License

MIT: use it anywhere, commercial games included, modify it, share it. Keep the licence file with the script.

More from Dimension Almios

Updated 3 hours ago
Published 8 days ago
StatusReleased
CategoryAssets
AuthorDimensionAlmios
Tags2D, 3D, camera, free, game-feel, Godot, godot4, juice, mit, screen-shake
ContentNo generative AI was used

Download

Download
almios-free-screen-shake-godot-pack.zip 836 kB
Version 6 18 hours ago

Development log

Leave a comment

Log in with itch.io to leave a comment.