[FEAT] Audio is working

This commit is contained in:
2021-12-04 09:42:33 +01:00
parent 280ca2ceca
commit 0482467037
2 changed files with 29 additions and 1 deletions

View File

@@ -11,9 +11,11 @@ function update()
x = x + dx
y = y + dy
if x == 39 or x == 0 then
sound(440, 50)
dx = -dx
end
if y == 29 or y == 0 then
sound(880, 50)
dy = -dy
end
locate(2, 2)