parent
707036af3d
commit
dd2760adb4
@ -1,2 +1,3 @@
|
||||
|
||||
code/data.db
|
||||
code/data.db
|
||||
|
@ -0,0 +1,20 @@
|
||||
// When the user clicks anywhere outside of the modalPatch, close it
|
||||
window.onclick = function(event) {
|
||||
if (event.target == modalPatch || event.target == modalOptions) {
|
||||
console.log(modalPatch.style.display + " " + modalOptions.style.display);
|
||||
modalPatch.style.display = "none";
|
||||
modalOptions.style.display = "none";
|
||||
console.log(modalPatch.style.display + " " + modalOptions.style.display);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// When the user clicks on <spanPatch> (x), close the modalPatch
|
||||
spanPatch.onclick = function() {
|
||||
modalPatch.style.display = "none";
|
||||
}
|
||||
|
||||
// When the user clicks on <spanOptions> (x), close the modalOptions
|
||||
spanOptions.onclick = function() {
|
||||
modalOptions.style.display = "none";
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
// Get the modalPatch
|
||||
var modalPatch = document.getElementById("patchnote");
|
||||
|
||||
// Get the button that opens the modalPatch
|
||||
var btnPatch = document.getElementById("btn_patchnote");
|
||||
|
||||
// Get the <spanPatch> element that closes the modalPatch
|
||||
var spanPatch = document.getElementById("close_patchnote");
|
||||
|
||||
// When the user clicks the button, open the modalPatch
|
||||
btnPatch.onclick = function() {
|
||||
modalPatch.style.display = "block";
|
||||
}
|
||||
|
||||
// When the user clicks on <spanPatch> (x), close the modalPatch
|
||||
spanPatch.onclick = function() {
|
||||
modalPatch.style.display = "none";
|
||||
}
|
||||
/*
|
||||
// When the user clicks anywhere outside of the modalPatch, close it
|
||||
window.onclick = function(event) {
|
||||
if (event.target == modalPatch) {
|
||||
modalPatch.style.display = "none";
|
||||
modalOptions.style.display = "none";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// When the user clicks on <spanPatch> (x), close the modalPatch
|
||||
spanPatch.onclick = function() {
|
||||
modalPatch.style.display = "none";
|
||||
}
|
||||
*/
|
||||
|
||||
var content = document.getElementById("patchnote_content");
|
||||
//content.style.width=modalPatch.width;
|
@ -0,0 +1,5 @@
|
||||
Modification du mode survie :
|
||||
- La difficulté devient "normal" en atteignant 30 points (si le mode "facile" avait été sélectionné)
|
||||
- La difficulté devient "difficile" en atteignant 60 points (si le mode "facile" ou "normal" avait été sélectionné)
|
||||
|
||||
- Le nombre de secondes récupéré diminue au fil de la partie (une seconde de moins tous les 3 points gagnés, avec un minimum de 15/10/5 secondes selon le mode de difficulté)
|
After Width: | Height: | Size: 3.3 KiB |
Loading…
Reference in new issue