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.

DarkBASIC Discussion / My Dark Basic came today and I need a little help!

Author
Message
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 11th Feb 2003 02:21
Ok I wanted to try something with my music. I got the music working by its self but when I went to try to add the music to an image that I have it doesnt work.

Let me start from square one.
When I go to make the .exe it works but it doesn't stay open. It shows the picture real fast and then closes. I want it to stay open and play the music.
Here let me try to put a snippet of what I did.
Err I dont know how to do snippets so I do it like this....

load bitmap "picture.bmp"
load music "song",1
play music 1

What am I doing wrong?????????????
I can get these files to work alone but not together. Please post back if you have the answer to my question.

Thanks
SmokieMcPot
Future Company Name = Blazing Fire
Current Website Name = Blazing Fire
Future Number is Eleventy
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 11th Feb 2003 02:54
Check your other post I answered you Hopefully it will work Im tired, and no DB on this comp so bear with me

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
DaZCWA
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location:
Posted: 13th Feb 2003 07:12
lol i did summit like this

load image "bitmap.bmp",1
load "song",1
play song 1
paste image 1,0,0
suspend for key

that code wont let your proramme exit till you press a key, I know you probs have been told a better way but I thought I would add this post to help me remember the process better

DaZ

"There is only 2 ways off this island: The first is in little pieces and the seconds with me" - (Hunter/DaZ)
Raize_k
21
Years of Service
User Offline
Joined: 4th Feb 2003
Location:
Posted: 13th Feb 2003 07:17
...i think its cause you have quotations on the "song"...
...i have no idea what im talkin about lol too sleepy

Athlon +2000 -=- Plus GeF4 -=- 786DDR <br>
I would rather USE VB and the DX SDK....
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 13th Feb 2003 14:35
Yea, but that proggy will play the music, then paste the image, then wait for a key, not all at once

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!

Login to post a reply

Server time is: 2024-05-18 13:27:23
Your offset time is: 2024-05-18 13:27:23