Jump to content


Photo

How do I play songs with the Bassmod?


  • Please log in to reply
2 replies to this topic

#1 MindOfCreativity

MindOfCreativity

    GMC Member

  • New Member
  • 5 posts
  • Version:GM8

Posted 26 December 2011 - 12:05 PM

Hello,

I recently installed Smarty's Bassmod, but I have no idea how to play a simple mod with it.
I want to use it for background music, because mod files are usually a lot smaller than mp3 files.

Can anybody give me the script to play a mod file as a background song?

thanks,

~MindOfCreativity
  • 0

#2 zmaj

zmaj

    GMC Member

  • GMC Member
  • 323 posts

Posted 20 May 2012 - 09:43 PM

Try GM_BASS.dll
you have there several examples...
Or wait to finish GEX... :(

Edited by zmaj, 20 May 2012 - 09:43 PM.

  • 0

#3 MrWoz

MrWoz

    GMC Member

  • GMC Member
  • 5 posts
  • Version:GM8.1

Posted 30 May 2012 - 01:07 PM

Hello,

I recently installed Smarty's Bassmod, but I have no idea how to play a simple mod with it.
I want to use it for background music, because mod files are usually a lot smaller than mp3 files.

Can anybody give me the script to play a mod file as a background song?

thanks,

~MindOfCreativity


Hi there, you first need to add the extension package to gamemaker. Then add the .mod file to the be included, resources/included files.
then create an object, add this object to the room.
var Music
bmod_init(44100,false,false);
Music=bmod_add('techno.mod')//name of mod file
bmod_play(Music)
Hope this helps.
Paul
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users