Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,633 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
mp3 file in SED #319685
04/16/10 18:59
04/16/10 18:59
Joined: Feb 2010
Posts: 43
in Italia
RoboWarrior Offline OP
Newbie
RoboWarrior  Offline OP
Newbie

Joined: Feb 2010
Posts: 43
in Italia
how-to use mp3 file for my project?


PC
processore Dual-Core Centrino 2 3.3 Ghz
video card NVIDIA 1GB
HDD 640 GB
RAM 8 GB
Windows 7
3D Game Studio A7 commercial edition
FACEBOOK: http://www.facebook.com/home.php?#!/profile.php?ref=profile&id=100000540297412
Re: mp3 file in SED [Re: RoboWarrior] #319687
04/16/10 19:38
04/16/10 19:38
Joined: Sep 2009
Posts: 496
P
Progger Offline
Senior Member
Progger  Offline
Senior Member
P

Joined: Sep 2009
Posts: 496
first
SOUND* yoursound="whateveryouwant.mp3";
use media_play
example in main function


function main()
{
level_Load("");
media_play(yoursound,100,0);
}
and the sound must be in the same folder as the script
YOu can use media_loop too
Just look in the manual
OPen SED then press F1 and type in whatever u want to find out
WFG Progger laugh


Last edited by Progger; 04/16/10 19:40.

asking is the best Way to get help laugh laugh laugh
Re: mp3 file in SED [Re: Progger] #319691
04/16/10 20:07
04/16/10 20:07
Joined: Dec 2008
Posts: 605
47°19'02.40" N 8°32'54.67"...
hopfel Offline
User
hopfel  Offline
User

Joined: Dec 2008
Posts: 605
47°19'02.40" N 8°32'54.67"...
snd_play for sounds and not media_play, in media_play you should(must?) use strings. But in this situation you should use media_play, but so:
media_play("whateveryouwant.mp3",NULL,100);

(Hope I said nothing wrong ^^)


Hilf mir, dir zu helfen!
Re: mp3 file in SED [Re: hopfel] #320218
04/20/10 14:22
04/20/10 14:22
Joined: Feb 2010
Posts: 43
in Italia
RoboWarrior Offline OP
Newbie
RoboWarrior  Offline OP
Newbie

Joined: Feb 2010
Posts: 43
in Italia
Thank you for your time!


PC
processore Dual-Core Centrino 2 3.3 Ghz
video card NVIDIA 1GB
HDD 640 GB
RAM 8 GB
Windows 7
3D Game Studio A7 commercial edition
FACEBOOK: http://www.facebook.com/home.php?#!/profile.php?ref=profile&id=100000540297412

Moderated by  HeelX, rvL_eXile 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1