Black Mage Gaming

blackmagegaming.com

150,647 views
122 followers
3,514 updates
0 tips
1 like
blackmagegaming's avatar blackmagegaming 1 year ago

Decided to comment out the unused consoles for now.

Sorry for the lack of updates, I bought Persona 3 Reload and have been loving it
5 likes
When I get 50,000 webpage views, I will do a Q&A, mostly because I have an FAQ page set up, but nothing on it.
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.

Website Stats

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

Tags

videogames coding rpg blackmage programming