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 / Loading Music and playing Music

Author
Message
Skull breaker
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 30th Aug 2008 20:27
I am trying to Load and play music and I get and the program compiles and runs but, All I get is the meteors falling and the music doesent play.

this is my code






if someone can help that would be awsome.

This is a signiture
elantzb
16
Years of Service
User Offline
Joined: 10th May 2008
Location: Classified
Posted: 30th Aug 2008 23:57
You've got quite a complicated system set up to play your music. Just use a simple test to make sure your music doesnt restart every cycle.



~you can call me lantz~
Skull breaker
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 31st Aug 2008 00:35
thats my code for my entire project =)

This is a signiture
Skull breaker
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 31st Aug 2008 01:03
ok so i did what your code says here it my code




and it plays the animation and background picture but not the music

if you can help that would be sick.

Thanks

This is a signiture
Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 31st Aug 2008 01:13
just put
before the LoopGDK. Thats how I do it.
Skull breaker
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 31st Aug 2008 01:18
Quote: "just put + Code Snippet

dbPlayMusic(i)
dbLoopMusic(i)

before the LoopGDK. Thats how I do it."


ok ill try that thanks

This is a signiture
Skull breaker
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 31st Aug 2008 01:21
that didnt change anything still does the same thing

This is a signiture
Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 31st Aug 2008 01:43
emmm that's weird, r u sure the music file is in the project folder?

Login to post a reply

Server time is: 2024-09-30 05:41:20
Your offset time is: 2024-09-30 05:41:20