overtone
overtone copied to clipboard
Feature : add hacky sounds
This requires change so that everything is either forced to be uppercase or lowercase, because there are mismatch of filepaths.
This implements a simple POC for sounds just to demonstrate how we could do it later on, it includes button click (this feels good) and the startup sound. There are no loops or anything like that, as already stated this is just a proof of concept for playing the audio and loading it
It moves more stuff to the gameState as we need to have a unified place that'll store all the game data
Since the filenames are all simple ascii's (I believe ?) it shouldn't be a problem, but yeah that could cause bugs if the game engine is then used to run moded/different game files.
Edit : to allow "modding", alot of the data in the base game that was hardcoded will have to be stored in file formats if we want to go that route