diff --git a/.gitignore b/.gitignore index d0b9340..dabf315 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /nizika +/nizika_nizika /nml +/nizika_nml diff --git a/assets/kita.wav b/assets/kita.wav new file mode 100644 index 0000000..0f51d92 Binary files /dev/null and b/assets/kita.wav differ diff --git a/forms/top.frm.php b/forms/top.frm.php index 1753c1a..291d93d 100644 --- a/forms/top.frm.php +++ b/forms/top.frm.php @@ -7,6 +7,7 @@
+

ニジカもんすたぁ!! にようこそ!

diff --git a/scripts/main.js b/scripts/main.js index 42421df..19739d2 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -62,6 +62,8 @@ const kitaList = Array (40).fill ().map (function (__, i) return _; }); +const runawayGuitar = new Audio ('./assets/kita.wav'); + let canvasX; let canvasY; let frame = 0; @@ -76,6 +78,11 @@ window.setInterval (() => reDraw (), 16); function preprocess () { + canvas.addEventListener ('click', function () + { + runawayGuitar.play (); + }); + reDraw (); } diff --git a/top.php b/top.php index e69de29..7db960b 100644 --- a/top.php +++ b/top.php @@ -0,0 +1,4 @@ +