The Daily Click ::. Forums ::. Klik Coding Help ::. Experts Help Needed! [with the DMC 2 object]
 

Post Reply  Post Oekaki 
 

Posted By Message

J.A.P

Possibly Insane

Registered
  11/06/2004
Points
  2048
8th July, 2004 at 10:53:30 -

One day I decided that I supposed to start using some mod music in my games, so I downloaded DMC2 plug in to my TGF Pro, but I noticed one problem which started with a good question: "Who the heck could get this way too hard crap to work?" and now I decided to ask from you: "Can you help me to get started?"

 
Beware, be alert, prepare to defend yourself, or just run for your lives(!), because
JarmoNator has entered the building... (see avatar)
that dark human beast is almost unstoppable, invincible and totally gone CRAZY!

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
8th July, 2004 at 12:01:00 -

Way too hard? You expect it to play itself? o_O There are a few steps you have to take:

Start of Frame > Initialise BASS

to play the mod:

OpenModule and provide the path to your module (use appdrive$ + appdir$ + "music.mod" to open something in the same place as your game)
PlayModule with parameter 1 for looping

End of Frame > Initialise BASS


See, it's not that hard ;P

 
n/a

Kramy



Registered
  08/06/2002
Points
  1888
8th July, 2004 at 12:21:57 -

*blinks*

Now I've never used the DMC2 object before...but are you supposed to initialize it at the end of the frame?

 
Kramy

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
8th July, 2004 at 13:04:10 -

initialize is nearly the same as terminate

by the way: i would use an " end of application " for terminating the bass, not "end of frame". and maybe add the terminate bass action to the event where you quit the app .
just for the case that you want to also play mods in the next frame . and that you want to be able to play the mod music over frames ...

 
Free graphics,Free Games
http://www.reinerstilesets.de

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
8th July, 2004 at 16:07:38 -

Yes, indeed - Terminate, not Initialise, at the end of the application. Otherwise, the advice is all you need, really.

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

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
8th July, 2004 at 18:52:41 -

You can tell I don't read anything I say anymore. (Saves a lot of time, really)

 
n/a

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
9th July, 2004 at 00:36:47 -

Updated topic name. Please use descriptive titles for your posts in the future and DONT SHOUT!

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

J.A.P

Possibly Insane

Registered
  11/06/2004
Points
  2048
9th July, 2004 at 05:17:24 -

understood, ShadowCaster!

 
Beware, be alert, prepare to defend yourself, or just run for your lives(!), because
JarmoNator has entered the building... (see avatar)
that dark human beast is almost unstoppable, invincible and totally gone CRAZY!
   

Post Reply



 



Advertisement

Worth A Click