From 754bb24cc9224128077ca288909aaad32b370270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F?= Date: Sun, 1 Dec 2024 13:18:59 +0300 Subject: [PATCH] enable shake. --- examples/director/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/director/main.go b/examples/director/main.go index 87d11c2..8f25b2b 100644 --- a/examples/director/main.go +++ b/examples/director/main.go @@ -132,6 +132,7 @@ func (g *Game) Layout(width, height int) (int, int) { func main() { cam.Smoothing = kamera.SmoothDamp + cam.ShakeEnabled = true img, _, err := image.Decode(bytes.NewReader(images.Smoke_png)) if err != nil { log.Fatal(err)