milsaware / javascript-roulette

Fully functioning roulette game made in Javascript and CSS
https://ozboware.github.io/javascript-roulette/
GNU General Public License v3.0
66 stars 39 forks source link

Sound #3

Open glennsardone opened 1 week ago

glennsardone commented 1 week ago

three simple additions to create the sound 1) Add this directly below

2) Add this in app.js directly below ballTrack.style.cssText = 'animation: ballRotate 1s linear infinite;';

document.getElementById('myAudio').play();

you can us this file for the sound just place it in assets/sound foler [Uploading spina.zip…]()

glennsardone commented 1 week ago

Add this directly below body tag above script tag of index,html page

glennsardone commented 1 week ago

wont let me put the index tag in comment so sending you the file. index.zip