for some reason the sound effects aren't working.
I had one sound effect that was supposed to play when you fired your gun in my game and it worked fine. Then I added another effect for your knife (it was above it in the code, if that's important) and it worked, but the gun sound now won't play. So then I add a door closing sound effect, and they all stop working. I don't know if it is a bug in Tic80 or if its my fault but I'd like to know.
I am on Android and coding in lua if that's important.
if start==2 then --Keep at top. to run after start
if btn(0) then y=y-0.2 end
if btn(1) then y=y+0.2 end
if btn(2) then x=x-0.2 end
if btn(3) then x=x+0.2 end
if btn(1) then anim=anim+1 end
if anim==260 then anim=257 end
if btn(7) then weapon=277 end
if weapon==276 then
if btnp(6) then
if not weapon==276 then
if ammo>0 then
if btn(6) then
if btnp(6) then bulletexists1=1 end
if bulletexists==1 then
if btn(5) then mset(x,y,050) end
if t<150 then
print("Objective: Find a cure",80,20)