WIP: The MuSiCaL Update #1
@@ -25,7 +25,9 @@
|
||||
} else {
|
||||
song = "/Music/bgm/" + lines[randint]
|
||||
}
|
||||
//could be useful
|
||||
//window.addEventListener('DOMContentLoaded', newLine);
|
||||
}
|
||||
//could be useful
|
||||
function getSongTitle() {
|
||||
console.log("song info for", randint)
|
||||
let titles = ["Another Medium", "CORE", "Death by Glamour", "Studiopolis Act 1 (Lights, Camera, Action!)", "Studiopolis Act 2", "Select a kart", "Creative Exersise", "Monkeys", "Still Alive", "Remix 4", "Main Menu", "24 Hour Cinderella", "The Ruins"]
|
||||
@@ -33,8 +35,6 @@
|
||||
console.log(titles[randint], "from ", games[randint])
|
||||
|
||||
}
|
||||
//window.addEventListener('DOMContentLoaded', newLine);
|
||||
}
|
||||
//ok, now we actually do stuff
|
||||
SongRNG()
|
||||
//just in case the user has autoplay disabled because they probably do
|
||||
|
||||
@@ -95,9 +95,10 @@
|
||||
<a href=/CAT.html> <img src="/cat overlord.png"> </a>
|
||||
</body>
|
||||
<script>
|
||||
function randinte() {
|
||||
function songmabober() {
|
||||
//this is actually code from minima and its absolutely NOT made for this BUT WHO CARES????
|
||||
//@ts-check
|
||||
randinte:
|
||||
console.log("yo whatap")
|
||||
console.log("picking a song...")
|
||||
let min = 0
|
||||
@@ -107,10 +108,9 @@
|
||||
if (randint > max) {
|
||||
console.warn("number is bigger than ", max)
|
||||
console.warn("running it back")
|
||||
randinte()
|
||||
}
|
||||
let song = "Music/vault" + randint + ".mid"
|
||||
songmabober();
|
||||
}
|
||||
let song = "/Music/vault" + randint + ".mid"
|
||||
//randomize the songmabobers
|
||||
//just in case the user has autoplay disabled because they probably do
|
||||
MIDIjs.play(song, true);
|
||||
@@ -140,5 +140,7 @@ if (isplaying == "false") {
|
||||
console.warn("idk if there be music")
|
||||
}
|
||||
}
|
||||
}
|
||||
songmabober()
|
||||
</script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user