aboutsummaryrefslogtreecommitdiff
path: root/update.lua
blob: 01847a510be3e4185985b07b4da212c9bd9a4d11 (plain)
1
2
3
4
5
6
7
8
9
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(32, 35)
end