aboutsummaryrefslogtreecommitdiff
path: root/update.lua
diff options
context:
space:
mode:
Diffstat (limited to 'update.lua')
-rw-r--r--update.lua8
1 files changed, 7 insertions, 1 deletions
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