camera shake godot
# Animate this to increase/decrease/fade the shaking
var shake_amount = 1.0
func _process(delta):
camera.set_offset(Vector2( \
rand_range(-1.0, 1.0) * shake_amount, \
rand_range(-1.0, 1.0) * shake_amount \
))