diff --git a/comicgen.js b/comicgen.js index 1298591..f2fe605 100644 --- a/comicgen.js +++ b/comicgen.js @@ -8,7 +8,7 @@ var c = canvas[0]; var ctx = c.getContext('2d'); var scene = new RB.Scene(c); var fontFamily = "Domestic Manners, Arial, helvetica, sans serif"; -var pop = new Audio('pop.ogg'); +var pop = new Audio('sounds/pop.ogg'); var currentObj = null; $('#newWidth').val(w); $('#newHeight').val(h); @@ -35,7 +35,7 @@ cg.clearScreen = function(){ w = c.width; h = c.height; fontFamily = "Domestic Manners, Arial, helvetica, sans serif"; - pop = new Audio('pop.ogg'); + pop = new Audio('sounds/pop.ogg'); currentObj = null; scene.add( scene.rect(w, h, 'white') ); diff --git a/resources.js b/resources.js index 899d6ac..f052443 100644 --- a/resources.js +++ b/resources.js @@ -7,7 +7,7 @@ export const RESOURCES = [ '/comicgen.js', '/index.html', '/jquery-1.5.2.min.js', - '/pop.ogg', + '/sounds/pop.ogg', '/ragaboom.min.js', 'images/banniere_bdchapril.png', 'images/bg-tab.png', diff --git a/pop.mp3 b/sounds/pop.mp3 similarity index 100% rename from pop.mp3 rename to sounds/pop.mp3 diff --git a/pop.ogg b/sounds/pop.ogg similarity index 100% rename from pop.ogg rename to sounds/pop.ogg diff --git a/toons/comicgen.js b/toons/comicgen.js index dc86ca1..de14093 100644 --- a/toons/comicgen.js +++ b/toons/comicgen.js @@ -6,7 +6,7 @@ var scene = new RB.Scene(c); var w = c.width; var h = c.height; var fontFamily = "Domestic Manners, Arial, helvetica, sans serif"; -var pop = new Audio('pop.ogg'); +var pop = new Audio('sounds/pop.ogg'); var currentObj = null; scene.add( scene.rect(w, h, 'white') ); @@ -23,7 +23,7 @@ cg.clearScreen = function(){ w = c.width; h = c.height; fontFamily = "Domestic Manners, Arial, helvetica, sans serif"; - pop = new Audio('pop.ogg'); + pop = new Audio('sounds/pop.ogg'); currentObj = null; scene.add( scene.rect(w, h, 'white') );