display credits on game over
This commit is contained in:
parent
ccd85b6bd8
commit
958ba01f6b
2
app.js
2
app.js
@ -441,6 +441,7 @@ function newGame(startLevel) {
|
||||
startSection.style.display = "none"
|
||||
gameSection.style.display = "block"
|
||||
settingsSection.style.display = "none"
|
||||
footer.style.display = "none"
|
||||
|
||||
state = STATE.PLAYING
|
||||
pressedKeys = new Set()
|
||||
@ -631,6 +632,7 @@ function gameOver() {
|
||||
startSection.style.display = "block"
|
||||
gameSection.style.display = "block"
|
||||
settingsSection.style.display = "none"
|
||||
footer.style.display = "block"
|
||||
}
|
||||
|
||||
function autorepeat() {
|
||||
|
@ -194,6 +194,7 @@ footer {
|
||||
left: 50%;
|
||||
bottom: 1em;
|
||||
transform: translateX(-50%);
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
|
@ -276,6 +276,7 @@ footer {
|
||||
left: 50%;
|
||||
bottom: 1em;
|
||||
transform: translateX(-50%);
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
|
@ -198,6 +198,7 @@ footer {
|
||||
left: 50%;
|
||||
bottom: 1em;
|
||||
transform: translateX(-50%);
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
@ -227,7 +228,6 @@ a {
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
#leaderboard td:first-child {
|
||||
text-align: left;
|
||||
}
|
||||
|
Reference in New Issue
Block a user