sandyrepope Apprentice Adventurer
   Age : 60 Joined : 10 Jun 2008 Posts : 35
 | Subject: music and sound Sat Aug 09, 2008 3:40 pm | |
| I've been looking at language.txt and found something I don't understand. There is 'playmusicX$' and 'playsampleX$'. What are the differences and what is each used for?
Thanks Sandy |
|
catventure Admin Adventurer

   Age : 56 Joined : 08 Jun 2008 Posts : 132 Location : UK Humor : Enjoys a laugh!
 | Subject: Re: music and sound Sat Aug 09, 2008 4:12 pm | |
| Hi Sandy,
Sound and music filetypes supported are : .mp3, .ogg, .wav, .aiff, .mod
If you check out "cloak_of_darkness.tab" and look in code there is example of
playmusicX$ and playsampleX$
These files played are present in the "sound" directory.
"playmusicX$" is for playing background music in your game which is best in .mp3 or .mod tunes.
"playsampleX$" is for sound effects, short sound clips, noises and effects that you can use after player actions in a game... For example check out some free here you can download: http://www.wavplanet.com/wavs.php?cat=5
You might also like to know that TAB supports the following type of graphic files (in graphic game mode) Graphics supported: .jpg, .gif, .bmp, .png
Best wishes, catventure. _________________ http://tab.thinbasic.com ; Home of the TAB I.F. project. |
|