diff options
| author | 1029chris <1029chris@gmail.com> | 2022-02-04 16:12:11 -0800 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2022-02-04 16:12:11 -0800 |
| commit | f53f66987ade0b3f2811cacbdcf72c474170621e (patch) | |
| tree | e540e63083db6258d61a18eedc29980cc692b34f /update.lua | |
| parent | 39ecc01dba7141bce30292a38eca2f498919fb33 (diff) | |
Pickups! Camera Shake! sPARKS!! YEAHH!!!
Diffstat (limited to 'update.lua')
| -rw-r--r-- | update.lua | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |
