Hello
I’d like to know if it’s easy to work with external c# lib with the new code editor …
I’d like to make a plugin to work with irrklang who is a soundengine for game,
there is a c# version of the lib . First i’d like to know if it’s possible to work directly in the code editor , and second what the best way to go , i think i need help for the start to have the basic hello world working , then i can probably manage to continue doing it myself.
I have quicly try to include file and dll in the folder of the plugin , but i’m still not exeprienced enough with c# to make it work.
I’m especially interrested in 3d sound engine with multichannel capabilities.
http://www.ambiera.com/irrklang/
here is a first exemple of the api:
C#
using System;
using IrrKlang;
namespace HelloWorld
{
class Example
{
[STAThread](STAThread)
static void Main(string[]() args)
{
// start up the engine
ISoundEngine engine = new ISoundEngine();
// play a sound file
engine.play2D("../../media/ophelia.mp3");
// wait until user presses ok to end application
System.Windows.Forms.MessageBox.Show("Playing, press ok.");
} // end main()
} // end class
} // end namespace