itch.io is community of indie game creators and players

Devlogs

Procedural Music Generation

Hurtz
A browser game made in HTML5

This is the 5 (1/2) th day of the 7DRL and I can say that considerable progress has been made; here's a general synopsis:

MUSIC GENERATION

Yes - the centerpiece of this entire application; the spicy beats. I simply defined some nice sounding chord progressions, a variety of patterns to play these chords in, and let Math.random() do most of decision making. As of now, all pulses generated by a melody note (through some sort of synth) will be a line shooting out in a random direction. Since the accuracy is so low, I treated it as a part of a 'glass cannon' build; when it hits, it really Hurtz.

Okay I will stop.

MINOR BUG FIXES

All the common suspects; screens not loading, character and map not functioning correctly, etc. I won't bore you with the details, but if you would like to know more, check out the GitHub repo.

Files

  • Hurtz.zip 190 kB
    Mar 11, 2022
Leave a comment