No Game Engine Game Dev: Word Sleuth 002: Embedding sounds and trying to play them.

5 months ago
8

Streamed on 2024-06-25 (https://www.twitch.tv/thediscouragerofhesitancy)

Game Engines are for sissies!

In this stream we wrote some code to parse WAV files and embed them in my C++ code so the binary data itself is embedded in my executable at compile time. That part went pretty smoothly.

Then we start in on playing a non-generated waveform (like sine/square wave) and instead playing back audio from a data buffer. After a couple of brain-dead mistakes on my part we have that mostly working. Just a strange "tick" after the recorded sound finishes playing. We'll tackle that tomorrow.

Loading comments...