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 / Need help strafing?

Author
Message
CornStalks
21
Years of Service
User Offline
Joined: 12th Feb 2004
Location: Utah
Posted: 8th Jul 2004 08:00
Today I have been trying to find out how to strafe, and everything I heard from people never helped me. So I came up with a system of my own. Thanks to taking Geometry I was able to figure it out. I have noticed a few posts on people wondering how to strafe, I thought I might just tell everybody that has these problems.

the number 20 is how fast you will move. Increase it to move faster, decrease to move slower. copy the code and play around with it.
Seeya, Michael

dang im hot...
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 10th Jul 2004 02:45
How can I do this and have the joystick move left and right properly I still have this problem, I know how to get a H.O.T.A.S joystick to straffe using the rudder bar or pedals but to get the object to turn still is a problem as the joystick works but jerkliy, I suppose I will just have to see what I can do with this code also how do I get the camera to follo the straffing object when it straffes? thanks:
32 Melted Gummy Bears
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 10th Jul 2004 20:32
Your code doesn't do strafing. If I press left, my character should move sideways to its left. Yours always move in the direction it's facing.



"eureka" - Archimedes

Login to post a reply

Server time is: 2025-05-24 22:59:36
Your offset time is: 2025-05-24 22:59:36