The Daily Click ::. Forums ::. Klik Coding Help ::. Built in sounds vs. wav/mp3 sounds in the game dir using DMC2 ?
 

Post Reply  Post Oekaki 
 

Posted By Message

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
12th July, 2003 at 09:18:26 -

I have a couple of questions. Which is best, using the regular play wav thingy in Tgf, or using DMC2 to do it ?
opviously, DMC2 has an advantage since you could compress the .WAVs to MP3s and save space.
What other (dis)advantages are there ?

and: Can you use wildcards in DMC2 ? like, if i have 3 sounds called punch1.mp3, punch2.mp3, and punch3.mp3, could i then ask DMC2 to play Punch?.mp3 ?

 
n/a

Aali [Crazy_Productions]



Registered
  13/10/2002
Points
  843
12th July, 2003 at 09:59:01 -

the built in stuff is very buggy, so just use it if you think that can protect your files (it can't but most people don't know how to get them out anyway so it's a bit more secure)


i'm not sure about wildcards but it's very unlikely, use TGF's random number generator instead:

"punch" + str$(random(3) + 1) + ".mp3"

this will play punch1.mp3, punch2.mp3, or punch3.mp3 at random

 
"If Darl McBride was in charge, he'd probably make marriage unconstitutional too, since clearly it de-emphasizes the commercial nature of normal human interaction, and probably is a major impediment to the commercial growth of prostitution."
-- Linus Torvalds, December 5th 2003.

(Darl McBride is CEO of The SCO Group)


this place sucks but don't tell anyone, it's our little secret, ok?

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
12th July, 2003 at 10:43:44 -

the problem is that DMC limits the number of channels you can have. so you can only load a max amount into it at the start of the game. i reserve it for mp3s and sounds i want with different mixing affects. the rest of them i use the in built thing.

 
www.thenatflap.co.uk

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
12th July, 2003 at 10:45:06 -

Could someone exlain to me how to access the supossed 8 channel sound that TGF supports? I can't figure out how to play sounds on different channels.

 
Craps, I'm an old man!

Aali [Crazy_Productions]



Registered
  13/10/2002
Points
  843
12th July, 2003 at 11:11:01 -

it's automaticly done if you check the option in Game Setup that allows you to play multiple sounds at once

 
"If Darl McBride was in charge, he'd probably make marriage unconstitutional too, since clearly it de-emphasizes the commercial nature of normal human interaction, and probably is a major impediment to the commercial growth of prostitution."
-- Linus Torvalds, December 5th 2003.

(Darl McBride is CEO of The SCO Group)


this place sucks but don't tell anyone, it's our little secret, ok?

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
12th July, 2003 at 11:30:28 -

figures, the one plave I don't look...

 
Craps, I'm an old man!

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
12th July, 2003 at 12:02:51 -

i dont think so but can u store a mp3 in TGF/MMF

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

Lew



Registered
  06/01/2002
Points
  1014
12th July, 2003 at 13:11:00 -

Tigerworks is making a Directsound extension, if you ask him nicely he might be able to build a TGF version.

 
<--intelligent, witty comment here-->

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
12th July, 2003 at 13:11:45 -

You dont choose which channel the sounds come out of, they just play through an empty one

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Daniel[Crazy_Productions]

Possibly Insane

Registered
  29/12/2002
Points
  2505
12th July, 2003 at 13:26:21 -

maybe you should use bass.dll ...there is an article about how to use it so youll just have to search

 
Beware of life ...so far noone have survived it.......

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
12th July, 2003 at 15:01:36 -

Spiderhead: No.

 
gone fishin'

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
12th July, 2003 at 20:17:31 -

DMC2 is much better than built in stuff.

Spiderhead - Also No.

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click