🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

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…

14,486 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…

4,537 views
Advertisement
Advertisement