dice function now on the website
- jQuery was added to make this work. - Cards were removed.
This commit is contained in:
parent
1d16cfc44b
commit
ab638b152c
158 changed files with 69420 additions and 47 deletions
|
@ -1,5 +1,16 @@
|
|||
/* interface.js
|
||||
script for the interface */
|
||||
|
||||
let soundEffects = {
|
||||
'ding': new Audio('media/ding.mp4'),
|
||||
'fallout': new Audio('media/Shells_falls-Marcel-829263474.mp3'),
|
||||
'tada': new Audio('media/tada.mp3')
|
||||
}
|
||||
|
||||
function app_dice_appearanceToggle(setting = true) {
|
||||
if (setting) {
|
||||
$('.dice').removeClass("scale-out");
|
||||
} else {
|
||||
$('.dice').addClass("scale-out");
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue