master
poni 4 years ago
parent e2f9a26695
commit c050937488

@ -7,11 +7,6 @@ return Math.floor(Math.random() * (max - min) + min);
};
function openWindow(c) {
//if /* if we're on iOS, open in Apple Maps */
// ((navigator.platform.indexOf("iPhone") != -1) ||
// (navigator.platform.indexOf("iPad") != -1) ||
// (navigator.platform.indexOf("iPod") != -1))
// window.open(`maps://http://www.google.com/maps/place/${c}`, "_self"); else /* else use Google */
window.open(`http://www.google.com/maps/place/${c}`, "_self");
}
@ -64,7 +59,8 @@ let sou = SOU[x][y];
var HOTSPOT = {
names: ["Hotspot name:\nPLACE NOT FOUND", "Hotspot name:\nLOBSTER LOUNGE", "Hotspot name:\nTHE SECRET GARDEN", "Hotspot name:\nSONIC THE SELLOUT", "Hotspot name:\nPIGEON PLAZA"],
coord: ["52.07242636201861,\n4.311324269227487","52.07494151159389,\n4.311367399049404","52.073236822099176,\n4.314598358985356","52.07642086169303,\n4.3083705464802105","52.07863969677628,\n4.304184010905719"],
coord: ["52.07242636201861,\n4.311324269227487","52.07494151159389,\n4.311367399049404","52.073236822099176,\n4.314598358985356","52.07642086169303,\n4.3083705464802105","52.07863969677628,\n4.304184010905719"],
url: ["coordinates/pnf.html",'cooordinates/lobster.html','coordinates/garden.html','coordinates/sonic.html','coordinates/pigeon.html']
};
@ -477,7 +473,11 @@ function pong() {
fill(0);
if(mouseReleased){
openWindow(coord);
setTimeout(function() {
openWindow(coord);
}, 5000 );
}
}

Loading…
Cancel
Save