diff --git a/src/css/main.css b/src/css/main.css index c1e519f..33bc7e9 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -15,6 +15,7 @@ html, body{ height: 100%; background: black; color:white; + user-select: none; } #screen{ @@ -93,4 +94,8 @@ html, body{ z-index: 1; font-size: 7vmin; margin: 15px; +} + +.click-to-continue:before { + width: 100%; } \ No newline at end of file diff --git a/src/css/titlescreen.css b/src/css/titlescreen.css index 08c599a..4da86c8 100644 --- a/src/css/titlescreen.css +++ b/src/css/titlescreen.css @@ -39,14 +39,13 @@ .click-to-continue{ display:block; - font-size: 10vmin; + font-size: 8vmin; color:white; text-align: center; position:absolute; bottom:2%; width:100%; animation: toggleFade 1s infinite ease-out; - -webkit-text-stroke-width: 2px; - -webkit-text-stroke-color: black; + z-index: 1; } \ No newline at end of file diff --git a/src/js/songselect.js b/src/js/songselect.js index e8c350d..bbcf099 100644 --- a/src/js/songselect.js +++ b/src/js/songselect.js @@ -60,9 +60,10 @@ function SongSelect(){ return; } - assets.sounds["ka"].play(); + if(!$('.opened').length) { + assets.sounds["don"].play(); assets.sounds["song-select"].pause(); assets.sounds["song-select"].currentTime = 0; setTimeout(function(){ @@ -73,6 +74,8 @@ function SongSelect(){ $('.songsel-title').attr('alt', 'むずかしさをえらぶ').html('むずかしさをえらぶ').css('left', -300); $('.songsel-title').animate({left:0, opacity:"show"}, 400); }); + } else { + assets.sounds["ka"].play(); } }; @@ -100,15 +103,9 @@ function SongSelect(){ var songID = titleSplit[0]; var songTitle = songDir.substr(songID.length+1, songDir.length-(songID.length+1)); - songDifficulties.sort(function(a, b){ - if(a.difficulty < b.difficulty) - return 1; - if(a.difficulty > b.difficulty) - return -1; - return 0; - }); + - _code += "
"+songTitle+'
'; + _code += "
"+songTitle+'
'; _code += "