Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / [DarkGDK 2.0] dbLoadMusic dosent seem to work..

Author
Message
haliop
User Banned
Posted: 19th Jul 2012 10:45
im trying to load some music but it dosent work :/

ive tried also with dbLoadSound and it did work for wav file
but im kinda shooting alot of bullets and with dbPlaySound it sound awefull...

so i wanted to check out dbPlayMusic instead but the loading isnt working..
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 19th Jul 2012 12:31
You definitively can't use "music" for that.
For one thing, it doesn't work with wave files (that's probably your issue right there). For another I think the limit on "music" instances are 31 and they cannot be cloned either.

Why does it sound awful? Are you triggering the same sound over and over again before it has got the chance to finish?
If so I'd suggest cloning a few of the sounds and play them in succession so that the old ones (hopefully at least) get to ring out properly.


"Why do programmers get Halloween and Christmas mixed up?"
haliop
User Banned
Posted: 19th Jul 2012 12:45
nope i tried the music with mp3 files.

i'll try to clone the wav sounds
haliop
User Banned
Posted: 19th Jul 2012 13:16
dbCloneSound dosent seem to work also



tempp returns 0...

Login to post a reply

Server time is: 2024-11-19 00:53:02
Your offset time is: 2024-11-19 00:53:02