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 Professional Discussion / Walking with terrain height available

Author
Message
MateiSoft Romania
11
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 16th Jan 2014 10:49
Hello Community!

I am running in some troubles here, i can't seem to manage the code for the "player" to walk on the advanced terrain...here is the code:




Thank You!

Alex Matei CEO
www.alexmatei.com
chafari
Valued Member
19
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 16th Jan 2014 11:52
Hi.
Don't make camera 1, use the default one, anless you need a second camera. Use this piece of code for the camera.


I'm not a grumpy grandpa
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 16th Jan 2014 12:03
You use Advanced_Terrain, and it is good.

windowsXp

Attachments

Login to view attachments
MateiSoft Romania
11
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 16th Jan 2014 16:44
Thank you very much!

From your codes i researched for what i missed...and as usual i missed one line of code that prevented my camera to move...so thank you again but i have another request...do you know how can i make the camera "jump" ?

Alex Matei CEO
www.alexmatei.com
chafari
Valued Member
19
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 16th Jan 2014 19:37
To make camera or player jump, use something like this:



I'm not a grumpy grandpa

Login to post a reply

Server time is: 2025-05-15 14:16:54
Your offset time is: 2025-05-15 14:16:54