more audio updates
This commit is contained in:
@@ -71,15 +71,23 @@ function Scoresheet(controller, score){
|
||||
}
|
||||
|
||||
this.run = function(){
|
||||
|
||||
assets.sounds["results"].play();
|
||||
|
||||
assets.sounds["bgm_results"].volume = 1;
|
||||
assets.sounds["bgm_results"].play();
|
||||
|
||||
_this.positionning();
|
||||
_this.setResults();
|
||||
|
||||
$("#song-select").click(function(){
|
||||
assets.sounds["bgm_results"].pause();
|
||||
assets.sounds["bgm_songsel"].currentTime = 0;
|
||||
controller.songSelection();
|
||||
});
|
||||
|
||||
$("#replay").click(function(){
|
||||
assets.sounds["bgm_results"].pause();
|
||||
assets.sounds["bgm_songsel"].currentTime = 0;
|
||||
controller.restartSong();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user