mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
updates
This commit is contained in:
parent
9e60cf0fee
commit
e80d9bf605
@ -15,6 +15,7 @@ html, body{
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background: black;
|
background: black;
|
||||||
color:white;
|
color:white;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#screen{
|
#screen{
|
||||||
@ -94,3 +95,7 @@ html, body{
|
|||||||
font-size: 7vmin;
|
font-size: 7vmin;
|
||||||
margin: 15px;
|
margin: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.click-to-continue:before {
|
||||||
|
width: 100%;
|
||||||
|
}
|
@ -39,14 +39,13 @@
|
|||||||
.click-to-continue{
|
.click-to-continue{
|
||||||
|
|
||||||
display:block;
|
display:block;
|
||||||
font-size: 10vmin;
|
font-size: 8vmin;
|
||||||
color:white;
|
color:white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
bottom:2%;
|
bottom:2%;
|
||||||
width:100%;
|
width:100%;
|
||||||
animation: toggleFade 1s infinite ease-out;
|
animation: toggleFade 1s infinite ease-out;
|
||||||
-webkit-text-stroke-width: 2px;
|
z-index: 1;
|
||||||
-webkit-text-stroke-color: black;
|
|
||||||
|
|
||||||
}
|
}
|
@ -60,9 +60,10 @@ function SongSelect(){
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
assets.sounds["ka"].play();
|
|
||||||
|
|
||||||
if(!$('.opened').length) {
|
if(!$('.opened').length) {
|
||||||
|
assets.sounds["don"].play();
|
||||||
assets.sounds["song-select"].pause();
|
assets.sounds["song-select"].pause();
|
||||||
assets.sounds["song-select"].currentTime = 0;
|
assets.sounds["song-select"].currentTime = 0;
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
@ -73,6 +74,8 @@ function SongSelect(){
|
|||||||
$('.songsel-title').attr('alt', 'むずかしさをえらぶ').html('むずかしさをえらぶ').css('left', -300);
|
$('.songsel-title').attr('alt', 'むずかしさをえらぶ').html('むずかしさをえらぶ').css('left', -300);
|
||||||
$('.songsel-title').animate({left:0, opacity:"show"}, 400);
|
$('.songsel-title').animate({left:0, opacity:"show"}, 400);
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
assets.sounds["ka"].play();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -100,15 +103,9 @@ function SongSelect(){
|
|||||||
var songID = titleSplit[0];
|
var songID = titleSplit[0];
|
||||||
var songTitle = songDir.substr(songID.length+1, songDir.length-(songID.length+1));
|
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 += "<div id='song-"+songID+"' class='song'><div class='song-title'>"+songTitle+'</div>';
|
|
||||||
|
_code += "<div id='song-"+songID+"' class='song'><div class='song-title stroke-sub' alt='"+songTitle+"'>"+songTitle+'</div>';
|
||||||
_code += "<ul class='difficulties'>";
|
_code += "<ul class='difficulties'>";
|
||||||
|
|
||||||
for(var j=0; j<songDifficulties.length; j++){
|
for(var j=0; j<songDifficulties.length; j++){
|
||||||
|
@ -40,6 +40,13 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$scale = array('easy.osu', 'normal.osu', 'hard.osu', 'oni.osu');
|
||||||
|
usort($files, function ($a, $b) use ($scale) {
|
||||||
|
$pos_a = array_search($a['songFile'], $scale);
|
||||||
|
$pos_b = array_search($b['songFile'], $scale);
|
||||||
|
return $pos_a - $pos_b;
|
||||||
|
});
|
||||||
|
|
||||||
$song = array(
|
$song = array(
|
||||||
"songDir" => $songDir,
|
"songDir" => $songDir,
|
||||||
"files" => $files
|
"files" => $files
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div id='title-screen'>
|
<div id='title-screen'>
|
||||||
<div id='logo-big-cont'><img src="/assets/img/logo-big.png" alt="太鼓の達人ウェブ" /></div>
|
<div id='logo-big-cont'><img src="/assets/img/logo-big.png" alt="太鼓の達人ウェブ" /></div>
|
||||||
<h2 class='click-to-continue'>Click or press enter</h2>
|
<h2 class='click-to-continue stroke-sub' alt="Click or press enter">Click or press enter</h2>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user