master
*anna* 3 years ago
parent 63920f295c
commit 5368ad79d3

BIN
.DS_Store vendored

Binary file not shown.

@ -228,7 +228,7 @@
window.localStorage.setItem("park","opened") window.localStorage.setItem("park","opened")
console.log ("park:",localStorage.park) console.log ("park:",localStorage.park)
document.querySelector('#player_name').innerHTML = localStorage.playerName; document.querySelector('#player_name').innerHTML = localStorage.playerName;
/*
//exhibition setting - deletes previous history everytime the journey starts again //exhibition setting - deletes previous history everytime the journey starts again
var avatar_image = localStorage.getItem('myavatar'); var avatar_image = localStorage.getItem('myavatar');
@ -241,9 +241,10 @@
window.localStorage.setItem("park","opened") window.localStorage.setItem("park","opened")
console.log ("park:",localStorage.park) console.log ("park:",localStorage.park)
document.querySelector('#player_name').innerHTML = localStorage.playerName; document.querySelector('#player_name').innerHTML = localStorage.playerName;
*/
//ordinary setting : asks the player whether they want to remove their history or not //ordinary setting : asks the player whether they want to remove their history or not
/*
if (localStorage.final === "opened" ) { if (localStorage.final === "opened" ) {
$(".memory").show(); $(".memory").show();
$(".text_container").hide(); $(".text_container").hide();
@ -271,7 +272,7 @@
document.querySelector('#player_name').innerHTML = localStorage.playerName; document.querySelector('#player_name').innerHTML = localStorage.playerName;
}); });
} }
*/
} }
// open newspaper // open newspaper

Loading…
Cancel
Save