- Mute implementat
This commit is contained in:
@@ -79,7 +79,7 @@ function bambolla.update_normal()
|
||||
end
|
||||
bambolla.y=28-abs(sin(bambolla.x*0.1))*24
|
||||
if bambolla.hab==abad.hab and bambolla.y>25.2 then
|
||||
playchirp(audio_low)
|
||||
play(audio_low)
|
||||
end
|
||||
if bambolla.hab==abad.hab then
|
||||
if cacau.hab==bambolla.hab and aabb(bambolla,cacau) then
|
||||
@@ -89,7 +89,7 @@ function bambolla.update_normal()
|
||||
bambolla.y=bambolla.y+8
|
||||
bambolla.dx=0
|
||||
bambolla.dy=-4
|
||||
playchirp(audio_hit)
|
||||
play(audio_hit)
|
||||
end
|
||||
if aabb(bambolla,abad) then
|
||||
abad_hurt(1)
|
||||
|
||||
Reference in New Issue
Block a user