- Mute implementat

This commit is contained in:
2022-12-28 19:24:20 +01:00
parent 5a980fcdfb
commit 5a27c54cb3
8 changed files with 50 additions and 25 deletions

View File

@@ -73,7 +73,7 @@ function imp.update()
imp.x=imp.x-2
if imp.x==78 then
fireball.init(imp.hab,imp.x+8,imp.y+4,imp.flip)
playchirp(audio_hit)
play(audio_hit)
imp.flip=not imp.flip
elseif imp.x==-12 then
imp.reset()
@@ -82,7 +82,7 @@ function imp.update()
imp.x=imp.x+2
if imp.x==4 then
fireball.init(imp.hab,imp.x+8,imp.y+4,imp.flip)
playchirp(audio_hit)
play(audio_hit)
imp.flip=not imp.flip
elseif imp.x==92 then
imp.reset()