Sounds with OpenAL | Coding a 2D Game Engine in Java #46
Vložit
- čas přidán 20. 05. 2024
- Join the Discord: / discord
In this episode I go over the minimal requirements to set up OpenAL and start playing sounds from it. I do not go into depth about how to use different audio techniques like moving audio sources, or placing audio sources in a world, I simply go over the most basic form of setting up an audio source and being able to play it anywhere in the game world. After we have it set up, I go over how to set up an ImGui screen to get all the sound sources displayed and to play them on click.
Code and Assets: github.com/codingminecraft/Ma...
0:00 Intro
0:44 Visual Explanation of Sound
6:57 Fixing an ImGui Bug
7:35 Setting up the Audio Device/Context
11:33 Creating the Sound Asset
21:12 Creating an Asset Pool for Sounds
23:31 Creating ImGui Screen for Sounds
---------------------------------------------------------------------
Website: ambrosiogabe.github.io/
Github: github.com/ambrosiogabe
Here are some books I recommend if you want to learn about game engine development more thoroughly. I do not profit off any of these sales, these are just some books that have helped me out :)
My Recommended Game Engine Books:
Game Engine Architecture: www.gameenginebook.com/
Game Physics Cookbook (Read this before the next physics book): www.amazon.com/Game-Physics-C...
Game Physics (Ian Millington): www.amazon.com/Game-Physics-E...
Game Programming Patterns (Free): gameprogrammingpatterns.com/
My Recommended Beginning Game Programming Books:
JavaScript Game Design: www.apress.com/gp/book/978143...
My Recommended Java Books:
Data Structures/Algorithms: www.amazon.com/Data-Structure...
LWJGL (Free, but I haven't read this thoroughly): lwjglgamedev.gitbooks.io/3d-g...
I was given the task of adding audio to the community project and I found this 👍❤️
thanks for contuining this series i appreciate you
thanks brotha I was completely lost but now I am found.
I'm waiting for this momment ! Audio 👉🏻👈🏻
amazing!! keep up with your great job! :)
learning alot from u
Thanks Ilan! It's nice to see some of my original subscribers are still here :)
@@GamesWithGabe of corse ur doing an amazing job.. im learning computer science and my knowledge is getting better thanks to u
To prove that you are the only active java youtuber just type java on youtube
Good job man!👍
Wow I didn't even notice that nobody was posting Java videos anymore haha. It's still a good language to know, Amazon still primarily uses it, but I'm not sure about other big tech companies :)
after finally catching up on this series I wonder... are ypu planning on doing a c++ lesson soon?
I have basically 0% knowledge when it comes to c++, Vulkan API and 3d game engines. To be more specific, I wand to make a voxel game that anyone can play because it has low requirements (C++, vulkan -> pretty fast).
I dont wanna use commercial game engines that limit you and so on. Just curious if you are interested in a project like that, since no on on youtube does it that specific. Good Video as always brother
Hey Jojo, thanks for the comment! And I'm already way ahead of you haha czcams.com/video/D86f9fiFwgk/video.html . I want to finish this series after I finish the game engine series, and then I'll be starting some C++ specific tutorials. It probably won't be giant series like this one, but more general purpose stuff like frustum-culling and scene hierarchy panel and font rendering. Just other general-purpose game engine stuff. I may do some stuff with voxels to at some point because it's fun and I've messed around with it in the past :)
@@GamesWithGabe Awesome. Cant wait, I`ll stick around!
hey are you going to add a scene system like unity
Hey sadman, I probably won't be implementing a scene system like Unity. This engine is not something that I will be putting much more into because it's diverged a lot from how I would build an engine now. I'll probably do subject specific tutorials in the future though, like how you could implement a scene system like unity, just not with this engine :)
Hey dude you dont plan on deleting these do you?
I am currently busy with some exams but i really want to binge watch your channel if you plan on deleting please tell me so i can save it
Hey @Chicken! Don't worry about it I plan on leaving these videos up haha. I don't believe in deleting old videos even if I would do things differently now because I think it's good for other people to see the changes that I make :)
@@GamesWithGabe cool! Thanks for answering
Are u going to close this lwjgl series in favor of c++. 😭😭😭
hi
merhaba
@@MetinCloup as