milsaware / javascript-roulette

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

Sound #3

Open glennsardone opened 2 months ago

glennsardone commented 2 months 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 2 months ago

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

glennsardone commented 2 months ago

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