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 / couple problems.

Author
Message
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 5th Apr 2006 03:32
ok i have a few problems with my RPG that i am making.

ok first off when i use the YROTATE command it wont rotate an di want it to becasue the character is facing the wrong way.

the second is how do i change the camera angle so that it is angled a little higher slightly. here is my code and i put up the exe. so that you know what im talking about. thanksy guys.




visit my site (unfinished)
www.freewebs.com/dbnewbie

Attachments

Login to view attachments
Duke Blue Devils
19
Years of Service
User Offline
Joined: 11th Mar 2006
Location:
Posted: 5th Apr 2006 03:36 Edited at: 5th Apr 2006 03:43
If it's facing the wrong way at the start then do yrotate object x,180 then use fix object pivot x
Use set camera to follow to move the camera however you want.

Visit the official Chicago Rush website
http://chicagorush.servegame.com/index.php
BENOJ
19
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 5th Apr 2006 04:11
this should work, havent tested it yet but im pretty sure it will work




you man also want to append the walking character to this, so when the upkey() is pressed it plays the walking guy so it looks more realistic

abit fatal1ty an8 sli mobo, ati radeon 1800 XT, 1.5GB RAM
250GB SATA HDD, AMD Athlon 64 x2 4200 (overclocked further)
Duke Blue Devils
19
Years of Service
User Offline
Joined: 11th Mar 2006
Location:
Posted: 5th Apr 2006 04:14
You can just use point camera instead of xrotate camera to always point the camera @the player. This will automatically rotate the camera to face the player.

Visit the official Chicago Rush website
http://chicagorush.servegame.com/index.php
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 5th Apr 2006 04:18
ok thank you i will try it.

visit my site (unfinished)
www.freewebs.com/dbnewbie
BENOJ
19
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 5th Apr 2006 04:19 Edited at: 5th Apr 2006 04:19
yea but the camera i used follows the position and angles etc...anyway, so if i used the point camera thign it would be kinda like doing th esame thing twice

abit fatal1ty an8 sli mobo, ati radeon 1800 XT, 1.5GB RAM
250GB SATA HDD, AMD Athlon 64 x2 4200 (overclocked further)
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 5th Apr 2006 06:03
i used your code benjo an dall i got was a blue screen so im gona try what duke said.

visit my site (unfinished)
www.freewebs.com/dbnewbie
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 5th Apr 2006 17:27
BENOJ for the walking thing woul i just use this code.


visit my site (unfinished)
www.freewebs.com/dbnewbie
BENOJ
19
Years of Service
User Offline
Joined: 17th Mar 2006
Location: UK
Posted: 5th Apr 2006 19:15
this is just a tutorial from the dark basic program itself, ive put the code in here, it shows u how to do it


to see it go to the tutorials section and the select "3d that walks"

abit fatal1ty an8 sli mobo, ati radeon 1800 XT, 1.5GB RAM
250GB SATA HDD, AMD Athlon 64 x2 4200 (overclocked further)

Login to post a reply

Server time is: 2025-05-23 21:48:06
Your offset time is: 2025-05-23 21:48:06