The Daily Click ::. Forums ::. Klik Coding Help ::. MP3's
 

Post Reply  Post Oekaki 
 

Posted By Message

Dakin Absi



Registered
  02/10/2004
Points
  113
5th December, 2004 at 07:45:13 -

How do i get to play mp3's with TgF? I've honestly never tried this be4... any help would be greatly appreciated...

 
Olny those you can elude time's grip deserve to live another day...

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
5th December, 2004 at 09:07:54 -

Either use the DMC2 object (go to www.clickteam.info/extensions ) or get MMF and use the Directshow object.

 
- Tigerworks

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
5th December, 2004 at 10:16:35 -

directshow slowed down my game when i used it to play MP3s (lots of ink effects as well)

 
www.thenatflap.co.uk

Dakin Absi



Registered
  02/10/2004
Points
  113
6th December, 2004 at 07:35:18 -

Ok, i have DMC2.... but HOW do i use it?

 
Olny those you can elude time's grip deserve to live another day...

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
6th December, 2004 at 08:18:03 -

Start of level: Initialise BASS, Open Stream, Play Stream.
End of level: Close Stream, Terminate BASS.

 
http://www.davidn.co.nr - Games, music, living in America

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
6th December, 2004 at 10:22:36 -

You may also need to close the bass in about five different ways to close it properly or it will affect your computer.

 
.

Dakin Absi



Registered
  02/10/2004
Points
  113
6th December, 2004 at 13:22:02 -

Start of level: Initialise BASS, Open Stream, Play Stream.
End of level: Close Stream, Terminate BASS.


Sorry, but thats kinda anti-specific.... how do i actually use the 'OpenStream' function?

 
Olny those you can elude time's grip deserve to live another day...

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
6th December, 2004 at 13:47:03 -

make sure the file is in the same folder as the app then put
appdrive$ + appdir$ + "file.mp3"
this will then play file.mp3 if it is in the same folder as the app

 
My signature is never too big!!!

Dakin Absi



Registered
  02/10/2004
Points
  113
6th December, 2004 at 14:52:16 -

I thank u all.... u helped me 2 get it to work!!!
Agian, ty!

 
Olny those you can elude time's grip deserve to live another day...

Jack Galilee



Registered
  02/12/2002
Points
  990

VIP Member
6th December, 2004 at 21:11:39 -

cant we also use the MCI Object, by calling functions to it - because DMC2 really sucks the cock!

 
The only thing better than winning gold in the paralympics is not being retarted

solonmonkey



Registered
  12/05/2004
Points
  165
6th December, 2004 at 21:22:36 -

I tried this but it won't work. I tried everything everybody said and for a small time it worked, but then my power went out before I was able to save. Now I can't do it again. I tried everything, even renamed the file "file.mp3" so I could copy and paste it into the code, but it still didn't work. Some one please help me.

 
n/a

Dakin Absi



Registered
  02/10/2004
Points
  113
7th December, 2004 at 16:01:49 -

Ok, i can help now...
copy this: (appdrive$ + appdir$ +) and then name "file.mp3 whatever the name of ur mp3 is, and put the mp3 in the same folder as the game file. It'll look like this-

appdrive$ + appdir$ + "file.mp3"

 
Olny those you can elude time's grip deserve to live another day...
   

Post Reply



 



Advertisement

Worth A Click