Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> Is there an easy way to add MP3's to games?
United States
DR. Demon Lizardman
Posted: Jul 19 2008, 05:28 PM
Quote Post


No comment
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 8438
Member No.: 2995
Joined: 28-November 06

Status: (0d) [--]


I work with GM, and I want a way so that you can play an MP3 without all the long loading. Is there a way to do this?


--------------------
For best ref of all, check this one out, thanks Ashura.
QUOTE
Ashura please don't tell me you've done what I think you've done
PMEmail Poster
Top
United States
fatsoyoshi
Posted: Jul 19 2008, 05:46 PM
Quote Post


Evil jar!
[*]

Group Icon
Group: Members
Posts: 181
Member No.: 5204
Joined: 20-April 08

Status: (0d) [--]


mp3's use up a lot of space. I had to learn this the hard way. MIDIs take up less space even though they sound cheap. If you decide to at least keep an mp3, replace it with a WMA (they use less space).


--------------------
PMEmail PosterYahoo
Top
Greece
rogueyoshi
Posted: Jul 19 2008, 06:09 PM
Quote Post


Watch out for that zoo
[*]

Group Icon
Group: Members
Posts: 346
Member No.: 3742
Joined: 8-May 07

Status: (0d) [--]


store them externally, load at the start of the room.


--------------------
#SNKPlaymore @ EFnet
Don't have a clue how to play KOF? Want one? http://tinyurl.com/kofguide
Tell SNK their netcode sucks ASS!! http://tinyurl.com/snkonline

user posted image
PMAOLYahooMSN
Top
United States
DR. Demon Lizardman
Posted: Jul 19 2008, 07:58 PM
Quote Post


No comment
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 8438
Member No.: 2995
Joined: 28-November 06

Status: (0d) [--]


QUOTE (rogueyoshi @ Jul 19 2008, 06:09 PM)
store them externally, load at the start of the room.

Can you make an example how?


--------------------
For best ref of all, check this one out, thanks Ashura.
QUOTE
Ashura please don't tell me you've done what I think you've done
PMEmail Poster
Top
United States
orange452
Posted: Jul 19 2008, 08:17 PM
Quote Post


...and brotha, I hurt people...
[*]

Group Icon
Group: Members
Posts: 519
Member No.: 3337
Joined: 21-February 07

Status: (0d) [--]


here:
it loads a .wma file, but if you have the .mp3 replace ot and you also need registered game maker...

http://www.willhostforfood.com/access.php?fileid=27730


--------------------
user posted image
************************************************************
PMEmail PosterUsers Website
Top
United States
DR. Demon Lizardman
Posted: Jul 19 2008, 09:21 PM
Quote Post


No comment
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 8438
Member No.: 2995
Joined: 28-November 06

Status: (0d) [--]


Thank you! Why did I not notice this.


--------------------
For best ref of all, check this one out, thanks Ashura.
QUOTE
Ashura please don't tell me you've done what I think you've done
PMEmail Poster
Top
Unspecified
mr.mario
Posted: Jul 22 2008, 07:33 PM
Quote Post


and you people thought Mugen coded in GML would never work
[*][*][*]

Group Icon
Group: Members
Posts: 4755
Member No.: 2349
Joined: 17-July 06

Status: (0d) [--]


you can also use SXMS to load anything winamp can open, check my sig


--------------------
mr.mario's emulated music engine(gamemaker)http://archive.mfgg.net/index.php?showtopic=214636here

Gmugen: here
PMEmail Poster
Top
Unspecified
Draco Icebane
Posted: Jul 22 2008, 09:48 PM
Quote Post


Standard Member
[*][*][*][*][*]


Group Icon
Group: Banned
Posts: 52997
Member No.: 10
Joined: 13-October 03

Status: (71582612m) [XX]


You could try streaming the MP3
PM
Top
Mexico
Jlhgomez
Posted: Jul 22 2008, 10:55 PM
Quote Post


Good Night MFGG 2.0
[*][*]

Group Icon
Group: Members
Posts: 1010
Member No.: 4850
Joined: 19-December 07

Status: (0d) [--]


Make a folder called "data" where you have your game, put Mp3 there.
Then on the room creation code put this in:

CODE
var file;
file = sound_add('data\herethename.mp3',0,0);
sound_loop(file);


Edit the "herethename" and put the file name.
And that's what I do :3


--------------------
PM
Top
Unspecified
mr.mario
Posted: Jul 23 2008, 07:12 AM
Quote Post


and you people thought Mugen coded in GML would never work
[*][*][*]

Group Icon
Group: Members
Posts: 4755
Member No.: 2349
Joined: 17-July 06

Status: (0d) [--]


the fastest way would probably be my method, because it doesn't add the MP5 to memory it just plays it


--------------------
mr.mario's emulated music engine(gamemaker)http://archive.mfgg.net/index.php?showtopic=214636here

Gmugen: here
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0455 ]   [ 13 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.60 ]