Hi there
I have been writing a game engine for a client for use with the no-touch
method of deployment.
This means that the games can run, embedded in a web browser (IE). Web
Games, if you will.
The 3D GDI+ graphics engine is finished (100% managed code) and,
surprisingly, the speed is acceptable. Here's a screenie:
http://www.victory-road.co.uk/images/WebEngineScreens/WE5.gif
Now I come to implement the sound. I wasn't expecting much, the ability to
simply play MIDI and WAV files would be OK, but how?
It appears that there is no sound support in the entire .NET framework. Is
this a joke? Plenty of graphics facilities but not able to even create a
beep? Surely not! Even simple Web pages can play sounds and music without
raising a security exception! Why not Rich/Smart Client?
The only information I've found on this is either to rely on .NET V2 (not
even realeased until November) or resort to using DllImport of winmm.dll or
others.
Of course I cannot do this as this has to be 100% managed code to run in the
sandboxed security either embedded in or linked to from a web page.
Or am I wrong about that? Perhaps there is some way I can ask for extra
permissions? It would only be some pre-existing unmanaged code, not even
using pointers. Its driving me crazy - I have the wav in a stream and I can't
do a thing with it!
Can anyone help me please?
Many thanks in advance
Kev