diff --git a/canvas.js b/canvas.js index 0e84d95..64b0931 100644 --- a/canvas.js +++ b/canvas.js @@ -2,6 +2,11 @@ function fontRead(){ fontReady = true; } +function randomNumber(min,max) { +return Math.floor(Math.random() * (max - min) + min); +}; + +var x = randomNumber(0,9); @@ -9,8 +14,15 @@ function fontRead(){ function preload() { footsteps = document.getElementById("footsteps");//walking -PNF1 = document.getElementById("PNF1"); - +//PNF1 = document.getElementById("PNF1"); + //PNF2 = document.getElementById("PNF2"); +LOBS1 = document.getElementById("LOBS1"); +LOBS2= document.getElementById("LOBS2"); +GARDE = document.getElementById("GARDE"); +SONIC1 = document.getElementById("SONIC1 "); +SONIC2 = document.getElementById("SONIC2"); +PIGEON1 = document.getElementById("PIGEON1 "); +PIGEON2 = document.getElementById("PIGEON2"); myFont = loadFont("ApfelGrotezk-Regular.ttf", fontRead); myFont2 = loadFont("typefaces/TINY5x3-40.ttf", fontRead); @@ -26,10 +38,17 @@ myFont = loadFont("ApfelGrotezk-Regular.ttf", fontRead); myFont12 = loadFont("typefaces/TINY5x3-240.ttf", fontRead); myFont13 = loadFont("typefaces/TINY5x3-260.ttf", fontRead); myFont14 = loadFont("typefaces/TINY5x3-280.ttf", fontRead); - - sou = PNF1 + + var SOU =["LOBS1", "LOBS2", "GARDE", "SONIC1", "SONIC2", "PIGEON1", "PIGEON2"] + + sou = SOU[x]; + console.log(sou) }; + var HOTSPOT = { + names: ["Hotspot name:\nTHE SECRET GARDEN", "Hotspot name:\nSONIC THE SELLOUT", "Hotspot name:\nSONIC THE SELLOUT", "Hotspot name:\nPIGEON PLAZA", "Hotspot name:\nPIGEON PLAZA"], + coord: ["52.073237, 4.314601", "52.076413, 4.308312", "52.07863, 4.303875","52.072243, 4.311191", "52.074982, 4.311327", "52.073237, 4.314601", "52.076413, 4.308312", "52.07863, 4.303875"], +}; @@ -44,6 +63,7 @@ myFont = loadFont("ApfelGrotezk-Regular.ttf", fontRead); // Pigeon Plaza 1 // Pigeon Plaza 2 +console.log(x) p5.disableFriendlyErrors = true; @@ -349,8 +369,8 @@ function coordinateBallColored(){ } function pong() { - let name = "Hotspot name:\nPLACE NOT FOUND"; - let coord = "52.07239, 4.31139"; + let name = HOTSPOT.names[x]; + let coord = HOTSPOT.coord[x]; cpu(); //loop cpu function @@ -440,7 +460,7 @@ text("I Don't Know Where We're Going, But\nyou are "+e+"px away from finding a h textLeading(width/20); text(name, width/2, height-100); textSize(width/17); - text(coord , width/2, 150); + text(coord , width/2, height/2); fill(0); //layer1.play();//sirens } else { diff --git a/code/index.html b/code/index.html deleted file mode 100644 index 7eb59fe..0000000 --- a/code/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - LAUNCHER - - - - - -
- GET YOUR BONUS FILES -
- - \ No newline at end of file diff --git a/code/style.css b/code/style.css deleted file mode 100644 index 0511d73..0000000 --- a/code/style.css +++ /dev/null @@ -1,58 +0,0 @@ -*{ -/* Prevent any object from being highlighted upon touch event*/ - tap-highlight-color: transparent; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - -moz-tap-highlight-color: rgba(0, 0, 0, 0); - outline: none; -} - -@font-face { - font-family: "ApfelGrotezk-Regular"; - src: url("../../ApfelGrotezk-Regular.ttf"); -} - -.display-none { - display:none; -} -.display-flex { - display:flex; -} -.display-block{ - display:block; -} - -body{ - font-size: 1.5em; - background-color: black; - color: white; - font-family: "ApfelGrotezk-Regular"; - text-align: center; -} - -.overlay{ - z-index: 2; - position: fixed; -} - -#code-input{ - left: 1em; - bottom: 1em; - border: none; - position: fixed; - background: transparent; -} - -#input{ - visibility: hidden; -} - -a{ - text-decoration: none; - color: white -} - -a:hover{ - text-decoration: none; - color: blue; - cursor: pointer; -} \ No newline at end of file diff --git a/code/test.zip b/code/test.zip deleted file mode 100644 index b213db0..0000000 Binary files a/code/test.zip and /dev/null differ diff --git a/codes.js b/codes.js index 933d392..2cd413b 100644 --- a/codes.js +++ b/codes.js @@ -13,56 +13,56 @@ location='ZIPFILES/pprgm/'; }//OK if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "BORDERS") { - location='ZIPFILES/BORDERS.zip'; + location='ZIPFILES/BORDERS.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "LIFE") { - location='ZIPFILES/LIFE.zip'; + location='ZIPFILES/LIFE.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "FUTURE") { - location='ZIPFILES/FUTURE.zip'; + location='ZIPFILES/FUTURE.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "DIALOGUE") { - location='ZIPFILES/DIALOGUE.zip'; + location='ZIPFILES/DIALOGUE.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "BREATH") { - location='ZIPFILES/BREATH.zip'; + location='ZIPFILES/BREATH.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "CAPITALISM") { - location='ZIPFILES/CAPITALISM.zip'; + location='ZIPFILES/CAPITALISM.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "GAMES") { - location='ZIPFILES/CAPITALISM.zip'; + location='ZIPFILES/CAPITALISM.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "SYNERGY") { - location='ZIPFILES/SINERGY.zip'; + location='ZIPFILES/SINERGY.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "DEATH") { - location='ZIPFILES/DEATH.zip'; + location='ZIPFILES/DEATH.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "VIRUS") { - location='ZIPFILES/VIRUS.zip'; + location='ZIPFILES/VIRUS.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "THEWHOLE") { - location='ZIPFILES/THEWHOLE.zip'; + location='ZIPFILES/THEWHOLE.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "CAT") { location='https://hub.xpub.nl/sandbot/PrototypingTimes/sketches/Euna/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "APPOINTMENT") { - location='ZIPFILES/appointment/'; + location='ZIPFILES/APPOINTMENT.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "PRAXIS") { - location='ZIPFILES/PRAXIS.zip'; + location='ZIPFILES/PRAXIS.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "OFFLINE") { - location='ZIPFILES/OFFLINE.zip'; + location='ZIPFILES/offline.zip/'; } //OK - if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "POISON") { - location='ZIPFILES/poison/'; + if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "SAVIOR") { + location='ZIPFILES/SAVIOR.zip/'; } if (document.querySelector ("input[type='toxt']").value.toUpperCase() === "THISISNOTART") { - location='ZIPFILES/THISISNOTART.zip'; + location='ZIPFILES/thisisnotart.zip/'; } else { diff --git a/index.html b/index.html index cc6a2e1..9de6569 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ I Don't Know Where We're Going, But.. - + diff --git a/louisa code/.ipynb_checkpoints/INTRO-checkpoint.gif b/louisa code/.ipynb_checkpoints/INTRO-checkpoint.gif deleted file mode 100644 index 2c4a311..0000000 Binary files a/louisa code/.ipynb_checkpoints/INTRO-checkpoint.gif and /dev/null differ diff --git a/louisa code/.ipynb_checkpoints/index-checkpoint.html b/louisa code/.ipynb_checkpoints/index-checkpoint.html deleted file mode 100644 index c6c2d48..0000000 --- a/louisa code/.ipynb_checkpoints/index-checkpoint.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - LAUNCHER - - - - -
- - whatever
-
- -
- -
- -
- - - \ No newline at end of file diff --git a/louisa code/.ipynb_checkpoints/style-checkpoint.css b/louisa code/.ipynb_checkpoints/style-checkpoint.css deleted file mode 100644 index d37dae3..0000000 --- a/louisa code/.ipynb_checkpoints/style-checkpoint.css +++ /dev/null @@ -1,99 +0,0 @@ -*{ -/* Prevent any object from being highlighted upon touch event*/ - tap-highlight-color: transparent; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - -moz-tap-highlight-color: rgba(0, 0, 0, 0); - outline: none; -} - -@font-face { - font-family: "ApfelGrotezk-Regular"; - src: url("../ApfelGrotezk-Regular.ttf"); -} - - -.display-none { - display:none; -} -.display-flex { - display:flex; -} -.display-block{ - display:block; -} - -body{ - font-size: 1.5em; - background-color: black; - color: white; - font-family: "ApfelGrotezk-Regular"; -} - -.overlay{ - z-index: 2; - position: fixed; -} - -#code-input{ - left: 1em; - bottom: 1em; - border: none; - position: fixed; - background: transparent; - color: white; - font-family: "ApfelGrotezk-Regular"; - font-size: 0.8em; -} - -#code-input:hover{ - color: blue; - cursor: pointer; - -} - -#input{ - visibility: hidden; - border: 0; - outline: 0; - background: transparent; - left: 1em; - bottom: 1em; - border: none; - position: fixed; - background: transparent; - color: white; - font-family: "ApfelGrotezk-Regular"; - font-size: 0.8em; - -} - -#fname{ - border: 0; - outline: 0; - background: transparent; - left: 1em; - bottom: 1em; - border: none; - position: fixed; - background: transparent; - color: white; - font-family: "ApfelGrotezk-Regular"; - font-size: 1em; - -} - -img { opacity: 1; - z-index: 0; - display: block; - position: fixed; -} - -#gif { - visibility: visible; - position: absolute; - height: 50%; - top: 48%; - text-align: center; - left: 50%; - transform: translate(-50%,-50%); -} \ No newline at end of file diff --git a/louisa code/INTRO.gif b/louisa code/INTRO.gif deleted file mode 100644 index 2c4a311..0000000 Binary files a/louisa code/INTRO.gif and /dev/null differ diff --git a/louisa code/code/.ipynb_checkpoints/index-checkpoint.html b/louisa code/code/.ipynb_checkpoints/index-checkpoint.html deleted file mode 100644 index 7eb59fe..0000000 --- a/louisa code/code/.ipynb_checkpoints/index-checkpoint.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - LAUNCHER - - - - - -
- GET YOUR BONUS FILES -
- - \ No newline at end of file diff --git a/louisa code/code/.ipynb_checkpoints/style-checkpoint.css b/louisa code/code/.ipynb_checkpoints/style-checkpoint.css deleted file mode 100644 index 0511d73..0000000 --- a/louisa code/code/.ipynb_checkpoints/style-checkpoint.css +++ /dev/null @@ -1,58 +0,0 @@ -*{ -/* Prevent any object from being highlighted upon touch event*/ - tap-highlight-color: transparent; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - -moz-tap-highlight-color: rgba(0, 0, 0, 0); - outline: none; -} - -@font-face { - font-family: "ApfelGrotezk-Regular"; - src: url("../../ApfelGrotezk-Regular.ttf"); -} - -.display-none { - display:none; -} -.display-flex { - display:flex; -} -.display-block{ - display:block; -} - -body{ - font-size: 1.5em; - background-color: black; - color: white; - font-family: "ApfelGrotezk-Regular"; - text-align: center; -} - -.overlay{ - z-index: 2; - position: fixed; -} - -#code-input{ - left: 1em; - bottom: 1em; - border: none; - position: fixed; - background: transparent; -} - -#input{ - visibility: hidden; -} - -a{ - text-decoration: none; - color: white -} - -a:hover{ - text-decoration: none; - color: blue; - cursor: pointer; -} \ No newline at end of file diff --git a/louisa code/code/index.html b/louisa code/code/index.html deleted file mode 100644 index 7eb59fe..0000000 --- a/louisa code/code/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - LAUNCHER - - - - - -
- GET YOUR BONUS FILES -
- - \ No newline at end of file diff --git a/louisa code/code/style.css b/louisa code/code/style.css deleted file mode 100644 index 0511d73..0000000 --- a/louisa code/code/style.css +++ /dev/null @@ -1,58 +0,0 @@ -*{ -/* Prevent any object from being highlighted upon touch event*/ - tap-highlight-color: transparent; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - -moz-tap-highlight-color: rgba(0, 0, 0, 0); - outline: none; -} - -@font-face { - font-family: "ApfelGrotezk-Regular"; - src: url("../../ApfelGrotezk-Regular.ttf"); -} - -.display-none { - display:none; -} -.display-flex { - display:flex; -} -.display-block{ - display:block; -} - -body{ - font-size: 1.5em; - background-color: black; - color: white; - font-family: "ApfelGrotezk-Regular"; - text-align: center; -} - -.overlay{ - z-index: 2; - position: fixed; -} - -#code-input{ - left: 1em; - bottom: 1em; - border: none; - position: fixed; - background: transparent; -} - -#input{ - visibility: hidden; -} - -a{ - text-decoration: none; - color: white -} - -a:hover{ - text-decoration: none; - color: blue; - cursor: pointer; -} \ No newline at end of file diff --git a/louisa code/code/test.zip b/louisa code/code/test.zip deleted file mode 100644 index b213db0..0000000 Binary files a/louisa code/code/test.zip and /dev/null differ diff --git a/louisa code/index.html b/louisa code/index.html deleted file mode 100644 index c6c2d48..0000000 --- a/louisa code/index.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - LAUNCHER - - - - -
- - whatever
-
- -
- -
- -
- - - \ No newline at end of file diff --git a/louisa code/style.css b/louisa code/style.css deleted file mode 100644 index d37dae3..0000000 --- a/louisa code/style.css +++ /dev/null @@ -1,99 +0,0 @@ -*{ -/* Prevent any object from being highlighted upon touch event*/ - tap-highlight-color: transparent; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - -moz-tap-highlight-color: rgba(0, 0, 0, 0); - outline: none; -} - -@font-face { - font-family: "ApfelGrotezk-Regular"; - src: url("../ApfelGrotezk-Regular.ttf"); -} - - -.display-none { - display:none; -} -.display-flex { - display:flex; -} -.display-block{ - display:block; -} - -body{ - font-size: 1.5em; - background-color: black; - color: white; - font-family: "ApfelGrotezk-Regular"; -} - -.overlay{ - z-index: 2; - position: fixed; -} - -#code-input{ - left: 1em; - bottom: 1em; - border: none; - position: fixed; - background: transparent; - color: white; - font-family: "ApfelGrotezk-Regular"; - font-size: 0.8em; -} - -#code-input:hover{ - color: blue; - cursor: pointer; - -} - -#input{ - visibility: hidden; - border: 0; - outline: 0; - background: transparent; - left: 1em; - bottom: 1em; - border: none; - position: fixed; - background: transparent; - color: white; - font-family: "ApfelGrotezk-Regular"; - font-size: 0.8em; - -} - -#fname{ - border: 0; - outline: 0; - background: transparent; - left: 1em; - bottom: 1em; - border: none; - position: fixed; - background: transparent; - color: white; - font-family: "ApfelGrotezk-Regular"; - font-size: 1em; - -} - -img { opacity: 1; - z-index: 0; - display: block; - position: fixed; -} - -#gif { - visibility: visible; - position: absolute; - height: 50%; - top: 48%; - text-align: center; - left: 50%; - transform: translate(-50%,-50%); -} \ No newline at end of file diff --git a/sounds/PNF_02.mp3 b/sounds/PNF_02.mp3 new file mode 100644 index 0000000..0eb2dc0 Binary files /dev/null and b/sounds/PNF_02.mp3 differ diff --git a/sounds/PNF_03.mp3 b/sounds/PNF_03.mp3 new file mode 100644 index 0000000..4f863b3 Binary files /dev/null and b/sounds/PNF_03.mp3 differ diff --git a/sounds/PNF_04.mp3 b/sounds/PNF_04.mp3 new file mode 100644 index 0000000..9db5d0d Binary files /dev/null and b/sounds/PNF_04.mp3 differ diff --git a/sounds/PNF_05.mp3 b/sounds/PNF_05.mp3 new file mode 100644 index 0000000..53073dd Binary files /dev/null and b/sounds/PNF_05.mp3 differ diff --git a/sounds/PNF_06.mp3 b/sounds/PNF_06.mp3 new file mode 100644 index 0000000..e134af3 Binary files /dev/null and b/sounds/PNF_06.mp3 differ diff --git a/sounds/chinatown_01.mp3 b/sounds/chinatown_01.mp3 new file mode 100644 index 0000000..50910b1 Binary files /dev/null and b/sounds/chinatown_01.mp3 differ diff --git a/sounds/chinatown_02.mp3 b/sounds/chinatown_02.mp3 new file mode 100644 index 0000000..4d9fd40 Binary files /dev/null and b/sounds/chinatown_02.mp3 differ diff --git a/sounds/chinatown_03.mp3 b/sounds/chinatown_03.mp3 new file mode 100644 index 0000000..de7429a Binary files /dev/null and b/sounds/chinatown_03.mp3 differ diff --git a/sounds/pigeons.mp3 b/sounds/pigeons.mp3 new file mode 100644 index 0000000..33cb1e2 Binary files /dev/null and b/sounds/pigeons.mp3 differ diff --git a/sounds/pigeonsquare_01.mp3 b/sounds/pigeonsquare_01.mp3 new file mode 100644 index 0000000..3159cf2 Binary files /dev/null and b/sounds/pigeonsquare_01.mp3 differ diff --git a/sounds/pigeonsquare_02.mp3 b/sounds/pigeonsquare_02.mp3 new file mode 100644 index 0000000..ba2ebdd Binary files /dev/null and b/sounds/pigeonsquare_02.mp3 differ diff --git a/sounds/pigeonsquare_03.mp3 b/sounds/pigeonsquare_03.mp3 new file mode 100644 index 0000000..d83e539 Binary files /dev/null and b/sounds/pigeonsquare_03.mp3 differ diff --git a/sounds/pigeonsquare_04.mp3 b/sounds/pigeonsquare_04.mp3 new file mode 100644 index 0000000..4da364d Binary files /dev/null and b/sounds/pigeonsquare_04.mp3 differ diff --git a/sounds/pigeonsquare_05.mp3 b/sounds/pigeonsquare_05.mp3 new file mode 100644 index 0000000..405504f Binary files /dev/null and b/sounds/pigeonsquare_05.mp3 differ diff --git a/sounds/schoolstraat_01.mp3 b/sounds/schoolstraat_01.mp3 new file mode 100644 index 0000000..184109a Binary files /dev/null and b/sounds/schoolstraat_01.mp3 differ diff --git a/sounds/schoolstraat_02.mp3 b/sounds/schoolstraat_02.mp3 new file mode 100644 index 0000000..112ea82 Binary files /dev/null and b/sounds/schoolstraat_02.mp3 differ diff --git a/sounds/schoolstraat_03.mp3 b/sounds/schoolstraat_03.mp3 new file mode 100644 index 0000000..efafc5c Binary files /dev/null and b/sounds/schoolstraat_03.mp3 differ diff --git a/sounds/schoolstraat_04.mp3 b/sounds/schoolstraat_04.mp3 new file mode 100644 index 0000000..aacd679 Binary files /dev/null and b/sounds/schoolstraat_04.mp3 differ diff --git a/sounds/spinoza_01.mp3 b/sounds/spinoza_01.mp3 new file mode 100644 index 0000000..1df87d9 Binary files /dev/null and b/sounds/spinoza_01.mp3 differ diff --git a/sounds/spinoza_02.mp3 b/sounds/spinoza_02.mp3 new file mode 100644 index 0000000..9dba1f2 Binary files /dev/null and b/sounds/spinoza_02.mp3 differ diff --git a/sounds/spinoza_03.mp3 b/sounds/spinoza_03.mp3 new file mode 100644 index 0000000..f0208dd Binary files /dev/null and b/sounds/spinoza_03.mp3 differ diff --git a/style-mb.css b/style-mb.css deleted file mode 100644 index cc5c2b2..0000000 --- a/style-mb.css +++ /dev/null @@ -1,12 +0,0 @@ -#textcontainer{ - display: none; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: auto; - background-color: pink; - font-size: 72px; - text-align: center; - color: red; -} \ No newline at end of file diff --git a/symboles/index.html b/symboles/index.html deleted file mode 100644 index 42d57bc..0000000 --- a/symboles/index.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - -
CURSEUR.png
-
HELP.png
-
PRINT.png
-
REFRESH.png
-../ - - -