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 / 3D walking on planet and so on

Author
Message
Lord Einstein
19
Years of Service
User Offline
Joined: 22nd Oct 2005
Location: Well here, of course...
Posted: 17th Sep 2007 23:10
I have created a simple program that allows you to walk on a planet (the plains are ment to be clouds).

There are 2 modes:
1) Viewing. hold right mousebutton and move mouse to rotate camera. press space to go to the second mode.
2) Walking. Use arrow keys to move and move mouse to roatate camera. Cannot go back to the 1st mode.



It is far from perfect for there are areas which you don't seem to be able to enter. Can you please help me to solve this problem and tell me how to imporve it.
Dark Dragon
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 21st Sep 2007 22:05
looks good. newx and newzvalue can help you out alot
Lord Einstein
19
Years of Service
User Offline
Joined: 22nd Oct 2005
Location: Well here, of course...
Posted: 22nd Sep 2007 15:41
hmmm... not sure how
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 22nd Sep 2007 15:45 Edited at: 22nd Sep 2007 23:47
I assume DD was referring to it's use as in the Monster Hunt tutorial to check where you can move and move yourself in the right direction and all that jazz.

I'll have a look at your code later when I have more time, but it doesn't seem to me like the newxvalue and newzvalue commands would actually help... I may be too rubbish to figure out how your code works (quite possible)


EDIT: OK I don't get what you're trying to do here and what the problem is... could you go into more detail?

http://jamesmason01.googlepages.com/index.htm
Lord Einstein
19
Years of Service
User Offline
Joined: 22nd Oct 2005
Location: Well here, of course...
Posted: 25th Sep 2007 00:21
don't worry its fine now - I have upgraded to DBP and have been able to sort out the problem.

Login to post a reply

Server time is: 2025-05-31 20:42:08
Your offset time is: 2025-05-31 20:42:08