Skip to main content

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

Twitch Game won't play audio

A topic by Lipstix created May 25, 2020 Views: 395 Replies: 1
Viewing posts 1 to 2
(1 edit)

Twine Version: 2.3.5 

Story Format: SugarCube 2.30.0

I think I’ve found a post in every forum imaginable about this problem, but I still have no solution that works for me. I can’t make audio play from my game in browser. I know the code itself is correct: first I cache the sound file in the StoryInit passage - e.g. cacheaudio “mainsong” “Music/Glitterhater.MP3” - then when I need it to play, the code is audio mainsong play. Whenever I make these changes, I publish to file. The relative pathways are correct, I’ve quadruple checked. All my audio is MP3, so it’s not an issue with file type. I know the audio should work, because when I play it from the .html file, the audio plays like a dream. But when I play it in the Twine application, or play it on itch.io, no audio. None. I have made sure nothing is trying to play in the first passage, which I understand is occasionally a issue due to some bug with this version of Twine. I have tried playing the game on multiple browsers (Chrome, Firefox, Microsoft Edge). I have tried playing the game via itch.io on someone else’s device in multiple browsers. No. Damn. Sound. If anybody can help me, I’d be so grateful. I can provide more info upon request. Thanks.

https://lipstix.itch.io/by-harald-lattimore

Fixed now. Make sure to type file extensions exactly as they appear people :)

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.