Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
Taiko Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Taiko Web
Commits
ebedcd77
Commit
ebedcd77
authored
Aug 06, 2018
by
Bui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
many update
parent
44c18c1e
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
73 additions
and
7 deletions
+73
-7
src/css/main.css
src/css/main.css
+50
-0
src/css/scoresheet.css
src/css/scoresheet.css
+0
-2
src/css/songselect.css
src/css/songselect.css
+5
-3
src/js/assets.js
src/js/assets.js
+1
-0
src/js/game.js
src/js/game.js
+1
-1
src/js/scoresheet.js
src/js/scoresheet.js
+2
-0
src/js/songselect.js
src/js/songselect.js
+11
-0
src/views/scoresheet.html
src/views/scoresheet.html
+2
-1
src/views/songselect.html
src/views/songselect.html
+1
-0
No files found.
src/css/main.css
View file @
ebedcd77
...
@@ -44,3 +44,53 @@ html, body{
...
@@ -44,3 +44,53 @@ html, body{
}
}
.stroke-main
{
font-weight
:
300
;
}
.result-title
{
margin-top
:
9px
!important
;
margin-left
:
5px
!important
;
z-index
:
1
;
}
.result-song
{
position
:
absolute
;
right
:
0
;
font-size
:
5vmin
;
margin
:
30px
30px
0px
0px
;
color
:
white
;
float
:
right
;
z-index
:
1
;
}
.stroke-main
:before
{
content
:
attr
(
alt
);
left
:
0
;
z-index
:
-1
;
position
:
absolute
;
-webkit-text-stroke
:
0.3em
#fb3c0c
;
}
.stroke-main
:after
{
content
:
attr
(
alt
);
left
:
0
;
z-index
:
-2
;
position
:
absolute
;
-webkit-text-stroke
:
0.5em
#000
;
}
.stroke-sub
:before
{
content
:
attr
(
alt
);
position
:
absolute
;
-webkit-text-stroke
:
0.25em
#000
;
left
:
0
;
z-index
:
-1
;
}
.songsel-title
{
position
:
absolute
;
z-index
:
1
;
font-size
:
7vmin
;
margin
:
15px
;
}
\ No newline at end of file
src/css/scoresheet.css
View file @
ebedcd77
...
@@ -15,8 +15,6 @@
...
@@ -15,8 +15,6 @@
font-size
:
7vmin
;
font-size
:
7vmin
;
margin
:
0
;
margin
:
0
;
color
:
white
;
color
:
white
;
-webkit-text-stroke-width
:
1px
;
-webkit-text-stroke-color
:
black
;
}
}
...
...
src/css/songselect.css
View file @
ebedcd77
...
@@ -18,8 +18,9 @@
...
@@ -18,8 +18,9 @@
#song-container
{
#song-container
{
width
:
98%
;
width
:
98%
;
height
:
90%
;
height
:
80%
;
padding
:
1%
;
padding
:
5%
1%
1%
1%
;
text-align
:
center
;
}
}
ul
li
{
ul
li
{
...
@@ -86,12 +87,13 @@ ul li{
...
@@ -86,12 +87,13 @@ ul li{
margin
:
auto
;
margin
:
auto
;
margin-top
:
10px
;
margin-top
:
10px
;
font-size
:
20pt
;
font-size
:
20pt
;
margin-left
:
6px
;
}
}
.difficulty
.stars
{
.difficulty
.stars
{
position
:
absolute
;
position
:
absolute
;
color
:
#f12b69
;
color
:
#f12b69
;
text-align
:
center
;
margin-left
:
-17px
;
width
:
100%
;
width
:
100%
;
bottom
:
10px
;
bottom
:
10px
;
}
}
...
...
src/js/assets.js
View file @
ebedcd77
...
@@ -42,6 +42,7 @@ var assets = {
...
@@ -42,6 +42,7 @@ var assets = {
'
pause.wav
'
,
'
pause.wav
'
,
'
cancel.wav
'
,
'
cancel.wav
'
,
'
results.wav
'
,
'
results.wav
'
,
'
diffsel.wav
'
,
'
note_don.ogg
'
,
'
note_don.ogg
'
,
'
note_ka.ogg
'
,
'
note_ka.ogg
'
,
...
...
src/js/game.js
View file @
ebedcd77
...
@@ -11,7 +11,7 @@ function Game(controller, selectedSong, songData){
...
@@ -11,7 +11,7 @@ function Game(controller, selectedSong, songData){
var
_currentCircle
=
0
;
var
_currentCircle
=
0
;
var
_currentScore
=
0
;
var
_currentScore
=
0
;
var
_combo
=
0
;
var
_combo
=
0
;
var
_globalScore
=
{
points
:
0
,
great
:
0
,
good
:
0
,
fail
:
0
,
maxCombo
:
0
,
hp
:
0
};
var
_globalScore
=
{
points
:
0
,
great
:
0
,
good
:
0
,
fail
:
0
,
maxCombo
:
0
,
hp
:
0
,
song
:
selectedSong
.
title
};
var
_HPGain
=
100
/
_songData
.
circles
.
length
;
var
_HPGain
=
100
/
_songData
.
circles
.
length
;
var
_paused
=
false
;
var
_paused
=
false
;
var
_started
=
false
;
var
_started
=
false
;
...
...
src/js/scoresheet.js
View file @
ebedcd77
...
@@ -25,6 +25,8 @@ function Scoresheet(controller, score){
...
@@ -25,6 +25,8 @@ function Scoresheet(controller, score){
$
(
"
#nb-good
"
).
html
(
_score
.
good
);
$
(
"
#nb-good
"
).
html
(
_score
.
good
);
$
(
"
#nb-fail
"
).
html
(
_score
.
fail
);
$
(
"
#nb-fail
"
).
html
(
_score
.
fail
);
$
(
"
#max-combo
"
).
html
(
_score
.
maxCombo
);
$
(
"
#max-combo
"
).
html
(
_score
.
maxCombo
);
$
(
'
.result-song
'
).
attr
(
'
alt
'
,
_score
.
song
).
html
(
_score
.
song
);
}
}
...
...
src/js/songselect.js
View file @
ebedcd77
...
@@ -41,6 +41,17 @@ function SongSelect(){
...
@@ -41,6 +41,17 @@ function SongSelect(){
$
(
"
.song:not(.opened)
"
).
click
(
function
(
e
){
$
(
"
.song:not(.opened)
"
).
click
(
function
(
e
){
if
(
!
$
(
e
.
target
).
parents
(
'
.difficulties
'
).
length
)
{
if
(
!
$
(
e
.
target
).
parents
(
'
.difficulties
'
).
length
)
{
assets
.
sounds
[
"
ka
"
].
play
();
assets
.
sounds
[
"
ka
"
].
play
();
if
(
!
$
(
'
.opened
'
).
length
)
{
setTimeout
(
function
(){
assets
.
sounds
[
"
diffsel
"
].
play
();
},
300
);
$
(
'
.songsel-title
'
).
fadeOut
(
200
,
function
(){
$
(
'
.songsel-title
'
).
attr
(
'
alt
'
,
'
むずかしさをえらぶ
'
).
html
(
'
むずかしさをえらぶ
'
).
css
(
'
left
'
,
-
300
);
$
(
'
.songsel-title
'
).
animate
({
left
:
0
,
opacity
:
"
show
"
},
400
);
});
}
};
};
$
(
"
.difficulty
"
).
hide
();
$
(
"
.difficulty
"
).
hide
();
...
...
src/views/scoresheet.html
View file @
ebedcd77
<div
id=
'scoresheet'
>
<div
id=
'scoresheet'
>
<div
id=
'top-part'
>
<div
id=
'top-part'
>
<h2>
成績発表
</h2>
<h2
alt=
"成績発表"
class=
"stroke-main result-title"
>
成績発表
</h2>
<h3
alt=
""
class=
"stroke-sub result-song"
></h3>
</div>
</div>
<div
id=
'result-bar'
>
<div
id=
'result-bar'
>
...
...
src/views/songselect.html
View file @
ebedcd77
<div
id=
"song-select"
>
<div
id=
"song-select"
>
<h2
alt=
"曲をえらぶ"
class=
"stroke-main songsel-title"
>
曲をえらぶ
</h2>
<div
id=
'song-container'
></div>
<div
id=
'song-container'
></div>
</div>
</div>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment