2 Commits

Author SHA1 Message Date
jonny_jr9
52c0838dec Add playSoundAsync() -> Fixes game delay
Add function that plays sound using a separate thread.
For not blocking the main thread
2023-12-14 21:24:49 +01:00
jonny_jr9
bc363a9f8b Add playSound(), Reduce debug output - sound on collide works
currently plays sound when snake crashes (leaderboard shown)

- shorten example audio file
- Add sound.c: abstract function to play .wav files
- config:
    - Add config option RENDER_GAME_TO_CONSOLE
    - disable debug output
2023-12-14 18:39:20 +01:00