meow
This commit is contained in:
parent
7402586ab6
commit
59f6d4fd79
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -3187,8 +3187,8 @@ Rect.prototype.contains = function(x, y) {
|
|||
|
||||
|
||||
function catSound() {
|
||||
let sounds = ["https://www.myinstants.com/media/sounds/meow2.mp3", "https://www.myinstants.com/media/sounds/meow_QO6VsE6.mp3", "https://www.myinstants.com/media/sounds/cat-meow-mp3.mp3"]
|
||||
let random = sounds[Math.floor(Math.random()*sounds.length)]
|
||||
let sounds = ["cat-sounds/meow1.mp3", "cat-sounds/meow2.mp3", "cat-sounds/meow3.mp3", "cat-sounds/meow4.mp3", "cat-sounds/meow5.mp3", "cat-sounds/meow6.mp3", "cat-sounds/meow7.mp3", "cat-sounds/meow8.mp3", "cat-sounds/meow9.mp3", "cat-sounds/meow10.mp3"];
|
||||
let random = sounds[Math.floor(Math.random()*sounds.length)];
|
||||
const meow = new Audio(random);
|
||||
meow.play();
|
||||
}
|
||||
|
@ -3201,10 +3201,6 @@ document.getElementById('more-button').onclick = catSound
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// misc
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue