From f53f66987ade0b3f2811cacbdcf72c474170621e Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Fri, 4 Feb 2022 16:12:11 -0800 Subject: Pickups! Camera Shake! sPARKS!! YEAHH!!! --- update.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'update.lua') diff --git a/update.lua b/update.lua index 022181d..01847a5 100644 --- a/update.lua +++ b/update.lua @@ -1,4 +1,10 @@ updateobjs() +--screenshake math +shake = shake + 0.11 * (0 - shake); +if shake < 1 then + shake = 0 +end +--add another player if they fire if btn(4, 1) and playercount == 0 then - addplayer(18, 22) + addplayer(32, 35) end \ No newline at end of file -- cgit