Black Mage Gaming

blackmagegaming.com

130,435 views
113 followers
3,502 updates
0 tips
Oh, I hit 2000 updates. Wow.
2 likes
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's avatar ralphsdigitalrecord 1 year ago

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

blackmagegaming's avatar blackmagegaming 1 year 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's avatar onlywonder 1 year ago

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

1 like

Website Stats

Last updated 6 days ago
CreatedMar 6, 2023
Site Traffic Stats

Tags

videogames coding rpg blackmage programming