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.

Newcomers DBPro Corner / Help with creating and runing an Exe on a dif comp

Author
Message
Braou44
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 5th Dec 2009 08:58
Ok so i have a basic Game runing on my own computer.
but my problem is transfering all the info to another computer.
when i build the exe it runs fine on my computer, but when i transfer it to my other on is says cant load sound at line 13.
well duh its beacues i put my computers info in the load sound brakets. but when i change it to somthing simple like load sound "cesktop/blah blah blah",1 So it can be universal for all computers it wont run cause it dosent have the specific location. and i cant Transfer to another computer giving it my computers exact loaction.... iv been pounding my head on the key board for about and hour and trying to look up guides for it but i cant find it anywhere.....

i Guess to some it all up.. i need help compiling the game

Thanks for any sugjestions and sorry if i didnt explain my prop to clearly
Dream And Death
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: The circus! Juggling job, kids and DBPro
Posted: 5th Dec 2009 18:05
You need to use relative paths, rather than full ones, so:

LOAD SOUND "\Sounds\MyGameSound1.wav"

The sounds then go in a Sounds directory in the same folder as your exe file. Zip it all up as a self-extracting zip or rar and you can know let friends play.

"You get what everyone gets, you get a lifetime!" - Death, The Sandman Library

First you Dream, then you ... - Neil Gaiman, 2001

Login to post a reply

Server time is: 2024-11-24 22:55:04
Your offset time is: 2024-11-24 22:55:04