Advertisement

Latest tick Activity

enigma_dev
April 04, 2022 12:53 PM
DevBlog 21 - Writing a simple Audio System in OpenAL




Adding audio to my engine.  

I used OpenAL as the API is similar to OpenGL, the graphics API of this project.

I've added sounds to ship engines, lasers, explosions, UI, and more.

OpenAL makes Doppler effects easy, it just works out of the box.  

I know there isn't sound in space, but I'm take…

17,904 views
Advertisement

@supervga You're not wrong. Just trying to provide a minimal starting example so the OP has a basic idea.

On another note, this is usually why you scale things such as animation or user controlled (non-physical) motion based on the delta time difference, to avoid such inconsistencies (sometimes clam…

5,217 views
Advertisement
Advertisement
Advertisement