Commit 96677c86 authored by Clement Gournay's avatar Clement Gournay

Sound gestion improved

parent c1985dde
...@@ -38,7 +38,7 @@ function SongSelect(){ ...@@ -38,7 +38,7 @@ function SongSelect(){
}); });
$(".song:not(.opened)").click(function(){ $(".song:not(.opened)").click(function(){
//assets.sounds["ka"][0].play(); assets.sounds["ka"].play();
$(".difficulty").hide(); $(".difficulty").hide();
$(".opened").removeClass("opened", 300); $(".opened").removeClass("opened", 300);
$(this).addClass("opened", 300, "linear", function(){ $(this).addClass("opened", 300, "linear", function(){
......
...@@ -35,7 +35,7 @@ function Titlescreen(){ ...@@ -35,7 +35,7 @@ function Titlescreen(){
} }
this.goNext = function(){ this.goNext = function(){
//assets.sounds["don"][0].play(); assets.sounds["don"].play();
new SongSelect(); new SongSelect();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment