Title
Pages 1
You are not logged in. Please login or register.
AudioGames.net Forum → Developers room → Anyone know any libraries in C# to make an audio game?
Of course! IrrKlan, sharpDX for sound handling(You can use BPC shared component too since it's a wrapper around sharp DX audio), Tolk for tts or sapi output(I'm not sure if it supports sapi. I mean i haven't tried it for a long time), You may use presentation core.dll and system.windows.output(if i'm not mistaken) to handle key inputs. Other things like menus and alike are pretty straight, You can do them yourself without using any libraries
@post 2
Thank you for the detailed feedback. Simple question, as I've never created a game in C# before. Will any of these libraries be able to create a blank window? If not, do you know one that will? Thanks!
Yup. Although there are other things that might help you like mano game. This thing is a game engine, which comes as an extention for C# if you are using visual studio. It has support for key handling and nearly everything you need, but handling sounds better not to be done with this one. you can use mano game with another sound library for example. Mano game also provides window creation. Although for the first time i recommend using windows forms since it's more straight. Then you might want to begin working with other extentions
@6
Gotcha thanks. I was pretty impressed with IrrKlang. What library would be best to handle key inputs?
I used windows.input, Although that requires you to add the presentation core.dll library to your application. It's located in reference assemblies folder. I don't remember the exact address, but that should be under dot net 4.x(4.x means 4.1, to what ever is out haha) I t might be available in lower versions of dot net but i'm not sure of this one. Also as i told you mano game can also handle keys. Both are good but mano game might confuse you if you haven't used it ever so i recommend windows.input first
@8
How would I go about creating a windows form in Notepad? I know how to with Visual Studio, but I would prefer not to do the beginning of my development in VS.
Followup post. @post 8, do you think there's a way I can contact you outside of this form to ask additional questions? I really want to get better at C#, but don't know any other programmers who use C#.
This should be useful.
https://docs.microsoft.com/en-us/dotnet … mmand-line
My skype id is kianoosh.shakeri2 as I wrote it in my signiture. And I started my development in vs. it's easy and makes life easier haha
The answer is: there are no libraries to make audio games. Besides BGT, you need to use what is already available to make an audio game usually by rolling your own stuff. As in, there's no System.AudioGame namespace.
What you can do is find out which libraries you need to accomplish your tasks. Since you're using C#, literally everything you will ever want to do with games is part of the DirectX core. DirectX will handle graphics, sounds, input (both from the keyboard and other HID's) and used to handle networking too until Microsoft deprecated DirectPlay.
During my time as a game developer I wrote a library which does most of these things for you without you having to worry about the low level details of DirectX. I leverage SharpDX, which is a .NET interface to DirectX. The library is called BPCSharedComponent and can be found on my GitHub in the TDV source. https://github.com/munawarb/Three-D-Velocity
The two classes you will need in particular are DSound.cs and dxInput.cs. DSound.cs is capable of rendering full 3-d sound, and dxInput.cs supports both keyboard and other HID's.
I wouldn't recommend going with MonoGame unless you want cross-platform capabilities. Sometimes it tends to over complicate things and it's not very good at rendering sound in particular. You're better off using DirectX as directly as you can to get the best results.
AudioGames.net Forum → Developers room → Anyone know any libraries in C# to make an audio game?
Generated in 0.029 seconds (41% PHP - 59% DB) with 14 queries