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 / strafe isn't working

Author
Message
Chief Engineer
21
Years of Service
User Offline
Joined: 26th Feb 2003
Location: United States
Posted: 2nd Mar 2003 00:29
It's probably obvious, but i don't know what i'm doing wrong. i can't get strafe to work in my prog. i only had it set up for the left key to try it, but it's not working for me. could someone please give me a hand?



thanx
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 2nd Mar 2003 00:35
There's a piece of code missing in

else
if cx# > 90 and cx#-270 2100 then Y# = 22100
position camera X#,Y#+120,Z#

because of the > and < operators. From what you have there I don't see what could be wrong. One thing I would suggest is instead of using camera angle y(), to use cy# - the value you are rotating the camera by manually.

Once I was but the learner,
now, I am the Master.

Login to post a reply

Server time is: 2024-11-24 04:50:50
Your offset time is: 2024-11-24 04:50:50