From 67ff1c220df722d6ab6a0396f84b269d783e5d88 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 19 May 2016 21:33:18 +0200 Subject: Shake camera --- player.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/player.lua b/player.lua index de64db1..0e8031e 100644 --- a/player.lua +++ b/player.lua @@ -323,6 +323,7 @@ function Player:die () self.lives = self.lives - 1 self.alive = false self.spawntimer = 1 + self.world.camera:startShake() end -- And then respawn. Like Jon Snow. -- cgit v1.1