Sound gestion improved
This commit is contained in:
parent
c1985ddefc
commit
96677c8635
@ -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(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.goNext = function(){
|
this.goNext = function(){
|
||||||
//assets.sounds["don"][0].play();
|
assets.sounds["don"].play();
|
||||||
new SongSelect();
|
new SongSelect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user