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,i am idiot

Author
Message
froger
20
Years of Service
User Offline
Joined: 22nd Apr 2004
Location:
Posted: 24th Apr 2004 21:25
i am idiot
i make menu (start,load,save)and sphere and matrix:
make object sphere 1,20
make matrix 2,100,100,10,10
ble ble ble
sphere is my player
if upkey()=1 then move object 1
if downkey()=1 then move object 1
if leftkey()=1 then yrotate object (1) ,wrapvalue(object angle y(1)
if rightkey()=1 then yrotate object (1),wrapvalue(object angle y(1)
ble ble ble
now when i pick start sphere position is 0,0,0
after play sphere position is 100,100,0
how save sphere position ?
when i pick load game start with sphere position is 100,100,0
how this code look like?
can u write this code for me ?
Lord Helmet
21
Years of Service
User Offline
Joined: 30th May 2003
Location:
Posted: 24th Apr 2004 22:07
Woa u look mean like me

u talk smart brain like me to

we smart!!

I think you need to save it to a file as bites or whatever but I haven't quite figured out how to make that work yet, I didn't really get what the showcase program was doing, but obviously we want to save an recall a specific variable, in this case a value. I was wondering myself how that can be turned into a "word" and back.
Jonny_S
22
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 24th Apr 2004 22:14 Edited at: 24th Apr 2004 22:16
erm Something like this should work



Something like that should work, I haven't used DB for a while so I can't remember if those commands are all right but something like that should work.

P.S oh and loading



Something like that should work, check the help its real good

Supermonkey - The crime gifhting sex god monkey!

Login to post a reply

Server time is: 2024-11-26 14:44:22
Your offset time is: 2024-11-26 14:44:22