Sound files moved in directory

This commit is contained in:
F. Y. H. 2024-12-24 14:11:37 +01:00
parent c10355d927
commit add5fc6132
Signed by: Alnotz
GPG key ID: BB5A7B6724BF531A
5 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ var c = canvas[0];
var ctx = c.getContext('2d'); var ctx = c.getContext('2d');
var scene = new RB.Scene(c); var scene = new RB.Scene(c);
var fontFamily = "Domestic Manners, Arial, helvetica, sans serif"; var fontFamily = "Domestic Manners, Arial, helvetica, sans serif";
var pop = new Audio('pop.ogg'); var pop = new Audio('sounds/pop.ogg');
var currentObj = null; var currentObj = null;
$('#newWidth').val(w); $('#newWidth').val(w);
$('#newHeight').val(h); $('#newHeight').val(h);
@ -35,7 +35,7 @@ cg.clearScreen = function(){
w = c.width; w = c.width;
h = c.height; h = c.height;
fontFamily = "Domestic Manners, Arial, helvetica, sans serif"; fontFamily = "Domestic Manners, Arial, helvetica, sans serif";
pop = new Audio('pop.ogg'); pop = new Audio('sounds/pop.ogg');
currentObj = null; currentObj = null;
scene.add( scene.rect(w, h, 'white') ); scene.add( scene.rect(w, h, 'white') );

View file

@ -7,7 +7,7 @@ export const RESOURCES = [
'/comicgen.js', '/comicgen.js',
'/index.html', '/index.html',
'/jquery-1.5.2.min.js', '/jquery-1.5.2.min.js',
'/pop.ogg', '/sounds/pop.ogg',
'/ragaboom.min.js', '/ragaboom.min.js',
'images/banniere_bdchapril.png', 'images/banniere_bdchapril.png',
'images/bg-tab.png', 'images/bg-tab.png',

View file

@ -6,7 +6,7 @@ var scene = new RB.Scene(c);
var w = c.width; var w = c.width;
var h = c.height; var h = c.height;
var fontFamily = "Domestic Manners, Arial, helvetica, sans serif"; var fontFamily = "Domestic Manners, Arial, helvetica, sans serif";
var pop = new Audio('pop.ogg'); var pop = new Audio('sounds/pop.ogg');
var currentObj = null; var currentObj = null;
scene.add( scene.rect(w, h, 'white') ); scene.add( scene.rect(w, h, 'white') );
@ -23,7 +23,7 @@ cg.clearScreen = function(){
w = c.width; w = c.width;
h = c.height; h = c.height;
fontFamily = "Domestic Manners, Arial, helvetica, sans serif"; fontFamily = "Domestic Manners, Arial, helvetica, sans serif";
pop = new Audio('pop.ogg'); pop = new Audio('sounds/pop.ogg');
currentObj = null; currentObj = null;
scene.add( scene.rect(w, h, 'white') ); scene.add( scene.rect(w, h, 'white') );