Neocities.org

Black Mage Gaming

blackmagegaming.com

116,738 views
105 followers
3,474 updates
0 tips
I have SUCCESSFULLY finished the random music player for my collection pages. It's currently implemented on the NES and SNES pages, you can view them from here: https://blackmagegaming.com/collection
1 like
ralphsdigitalrecord 10 months ago

This is super cool! What method did you choose for this?

blackmagegaming 10 months ago

@ralphsdigitalrecord I created every audio tag, gave them appropriate IDs, then put them in a JS Array, then generated a random number and modulo'd the number to the size of the array, then played the number it gave. When the music ends, it runs the random player function again. The stop button simply pauses every audio tag, and the new song button pauses every audio tag, then runs the random song function.

Just found out about `image-rendering: pixelated;` This changes EVERYTHING
5 likes
onlywonder 10 months ago

I had the same reaction when I found out about it too 😭

1 like

Website Stats

Last updated 4 hours ago
CreatedMar 6, 2023
Site Traffic Stats

Tags

videogames coding rpg blackmage programming