How can i ply mp3 in gamestudio?

Posted By: Anonymous

How can i ply mp3 in gamestudio? - 01/14/03 08:39

Sorry about bad english...

The gamestudio supports mp3 without plugins?
For play waves i wrote:

sound wave = <music.wav>;
ent_playsound(my,wave,100);

and for play mp3???????
Posted By: Christian__A

Re: How can i ply mp3 in gamestudio? - 01/14/03 14:57

Its not possible to play mp3-files without using a DLL.
Posted By: ello

Re: How can i ply mp3 in gamestudio? - 01/14/03 16:24

u can use handle=media_loop("song.mp3",null,100);
Posted By: Anonymous

Re: How can i ply mp3 in gamestudio? - 01/14/03 21:12

quote:
Originally posted by ello:
u can use handle=media_loop("song.mp3",null,100);

No you can't.
Posted By: ello

Re: How can i ply mp3 in gamestudio? - 01/14/03 21:27

i just did so yesterday, and it worked fine
Posted By: Anonymous

Re: How can i ply mp3 in gamestudio? - 01/15/03 00:23

Wow u played mp3 without using the mp3 dll, let me know how u did it.

max
Posted By: ello

Re: How can i ply mp3 in gamestudio? - 01/15/03 00:41

a5.51.03 supports this

there is no problem!
Posted By: Joey

Re: How can i ply mp3 in gamestudio? - 01/15/03 00:49

Hi!!

Of course does it support mp3s, and any other stuff your windows media player can encode, you need only v.5.51.

Just type:

code:
media_play(<yourfile.yourextension>, null, volume);
//The second parameter is a bit complicated, within it you can render videos onto entities.
//yourfile = filename, yourextension is the extension like .wav, .mp3, .wma, .avi and so on.

This works also with media_loop(..).

If you have special questions ask me.

Jey Key.
Posted By: Doug

Re: How can i ply mp3 in gamestudio? - 01/15/03 04:24

The mp3 player is in the beta release of 3DGameStudio and only works on the Commercial edition or higher.
Posted By: Anonymous

Re: How can i ply mp3 in gamestudio? - 01/15/03 08:23

But how can i assign a entity to play sound in format mp3??? Supporting posiotioning in 3d sound...
Posted By: Anonymous

Re: How can i ply mp3 in gamestudio? - 01/15/03 11:35

quote:
Originally posted by Doug:
The mp3 player is in the beta release of 3DGameStudio and only works on the Commercial edition or higher.

See [Razz] told you it didn't work for me.
Posted By: Cameron_Aycock

Re: How can i ply mp3 in gamestudio? - 01/15/03 12:59

My mp3 dll does NOT support 3d positioning. I wrote it for background music. I have since been informed of legal ramification of using an mp3 file in your game, and as my version (commercial) now supports this feature, I simply don't have the time to adapt it to support 3d positioning...you could fake it however, using entity distances and the volume and balance control in the dll.
© 2024 lite-C Forums