Sunday 8 August 2021

JS13k Some old Audio Code - 5 days still start

 Audio is an important aspect of games but I often fail on it as there is never enough time and space (in the 13k) left for good audio by the end of a project.

This year I want some good simple sound effects - nothing fancy. I went back to my 2018 entry ice-x and extracted the audio system I used there as it was tiny and flexible.

It allows you to make effects by defining a volume and frequency envelop in time and allowing concurrent sounds. Simple to use and very small in bytes I made a repo here demonstrating how it works - there is a live copy where you can hear the sounds it makes



No comments:

Post a Comment