Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hmm. Can you give me some more information about how it crashes? Does it generate a logs/crash_report--DATE.txt file alongside the exe when you run it? If so, what is the Traceback? And if not, can you run the exe through the command line and post the error that gets printed? Does the "no available audio device" error message appear in a pop-up window or are you seeing it somewhere else?

When I disable all the audio devices on my Windows 10 computer, the game does indeed fail to start, giving a crash report that looks like this:

Traceback (most recent call last):
  File "skeletris.py", line 48, in <module>
  File "src\game\gameloop.py", line 17, in init
pygame.error: DirectSoundCreate: No audio device found
Which seems to be a situation that pygame doesn't handle well and I didn't catch, so sorry about that. Ideally you'd be able to play the game with no audio at least if no devices can be found.

The root issue though is probably that pygame isn't compatible with any of your audio devices, or they're all inaccessible(?), which I'm not sure will be fixable on my end. I'll try to release an updated build sometime this week that at least lets you play with no sound though - and I'll post a reply here when that's ready. Thanks for letting me know about this issue.

I've uploaded a new Windows build that allows the game to run even when the sound module fails to initialize. This unfortunately won't make sounds work on your system but you'll at least be able to play the game. Hope this helps :)

Thanks a lot. Here's a link to the log file from the last time I tried to run it: https://pastebin.com/dTD26qK7

Thanks! I'll talk to some other developers and see if anyone has encountered this. It seems like this error usually occurs on Raspberry PIs or pygame running inside virtual environments (where there truly aren't any audio devices), so it's weird you'd be seeing it on a normal Windows machine. I'll post a reply if I find anything. Thanks again.