Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

The cars look good and colourful, if maybe a little bit impractical to actually drive for the longer models :-D I think my favourite part was the small ornament at the front of the car, especially the bird one.
Regarding audio I always encountered an issue on the same few songs (namely Ladies and G's, Take a amen break and Heatwave) on Firefox, but they seem to play just fine on Chrome.

(+1)

Hey, glad to see you here for the third time in a row, procmaster. And thank you, you manage to reproduce the EXACT same bug I encounter too, on the EXACT same tracks, I have no freakin ideas of what can cause that, this 2 tracks have nothing special, and its the same in the code. I'm lost... I can't help but suspect my dear Blazingfox of being at fault in this case, chromium based bros works fine too on my side, this driving me insane... 

(1 edit) (+1)

Hearing that your issues were on the same track intrigued me so I did a little bit of sleuthing.

The error I was getting in my browser's console was "The buffer passed to decodeAudioData contains invalid content which cannot be decoded successfully."; this does not help a lot but confirms that the issue is with specific files being unreadable for Firefox (or at least the AudioContext part of Firefox, as opening the file by itself in a new tab works like a charm).

Using the sample code from MDN's documentation (https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioDat...) I managed to reproduce the issue locally, which definitely excludes the issue being from your code (yay !). I still do not know exactly what went wrong with those files, but simply re-encoding them with a newer version of the encoder (Lavf57.56.100 => Lavf58.29.100) fixed the issue for me (I did that using ffmpeg, ffmpeg -i ladiesandgs.webm ladiesandgs_fixed.webm) made the previously unplayable files work just fine in Firefox.

The files I noticed were affected and confirmed fixed with this workaround are "Ladies and G's", "Take a amen break", "Heatwave" and "Memories".

(+1)

Sir, you are an absolute legend, a nerd and a real gentleman. I must rename the first track "Ladies and Delca" now !
I see 3 possibilities :
-1 : I used a very old "deprecated" 🦜version of FL studio, my DAW , even a 32 bit one, and I had to manually export 40 songs into .ogg, so maybe something went wrong here, or ...
-2 : Then I had to import the songs into the Construct 3 engine which then convert them into .webm for maximal compatibility and it goes wrong here, or...
-3 : During the export/compile/minify process...

Anyway, thank you ! I will work on that when my body and mind has completely recover from the jam. I suffer what I call the "post jam disgust " right now.