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.

Author
Message
Jigga
21
Years of Service
User Offline
Joined: 13th Nov 2002
Location:
Posted: 8th Jan 2003 01:33
This is my code. I am making a modeler with Dark Basic, which is comming along just fine (despite the fact that people thought it was immposible). This is some of my code. MY program saves the 3ds file, like it should, but I want the 3ds file to be saved to the desktop, instead of inside the directory. How do I do this?

sync on
sync rate 30
open to write 1,"ball.3ds"
do

if upkey()=1
GOTO BOOM:
endif

if downkey()=1
GOTO ROOM:
endif

sync
loop

BOOM:
write string 1,"you have made a box"
write string 1,"This is the second line of the box"
end


ROOM:
write string 1,"You have made a sphere"
write string 1,"This is the second line of the sphere"
end
Manson
21
Years of Service
User Offline
Joined: 20th Oct 2002
Location: Denmark
Posted: 8th Jan 2003 11:21
I sure hope you've written much more than this,,,,

try change
open to write 1,"ball.3ds"

to
open to write 1,"c:\windows\desktop\ball.3ds"

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 8th Jan 2003 16:59
u cant make a modeler using only shapes! unless you can use pak files and ASCII reading edit headers in files..

xxxpetratxxx
B. R. W

Login to post a reply

Server time is: 2024-03-29 01:42:18
Your offset time is: 2024-03-29 01:42:18