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 / Why it get stucked?

Author
Message
Jack Nukem
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location:
Posted: 14th Dec 2003 12:37
I Don't understand why the following code doesn't work. Everything
is fine but when you try to turn - it get stucked.

Please help!
Jacob
Clarks
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location: BALTIMORE,MARYLAND
Posted: 14th Dec 2003 13:07
what exactly are you doing. you didn't specify anywhere in your code how much to turn the camera.
Jack Nukem
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location:
Posted: 14th Dec 2003 14:29
I Used xx,d,zz as backup of first camera rotation.

the "turn camera right 1" makes the camera turn right to 1 degree,
than it's make a backup in xx,d,zz

Jacob
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 14th Dec 2003 15:14
Try using

Yrotate Camera 1,wrapvalue(Camera Angle Y(1)+2)

RPGamer


Dont forget to Join the Forums!
Jack Nukem
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location:
Posted: 14th Dec 2003 15:25
Thanks, the camera turns now.

Just that it still doesn't move.

Jacob
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 14th Dec 2003 19:12
What kind of game are you making? I might be able to help - it just depends on what style control you need.

Am I the only one here who's really confused?
In the shadow of the valley of death we will need our torches.
Jack Nukem
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location:
Posted: 14th Dec 2003 20:15
It's a technical test of Split-Screen game - 3D Game for 2 players. I'm planning flight simulator, but for start I want to build simple
FPS style moving. What should happen in this code in
that in the left you see the first-person-view and in the
right window you should see the player from above (sphere in this case) moving on the matrix.

Thank you,
Jacob

Login to post a reply

Server time is: 2025-05-22 01:12:11
Your offset time is: 2025-05-22 01:12:11