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 / mouselook

Author
Message
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 8th May 2005 05:38
does anyone have a better and smoother mouselook thing than mine?



"Well, if he dies, it'll teach him not to do it again." - Me
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 8th May 2005 05:56
How are we supposed to know how smooth yours is or isn't when you don't post an example?

Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 8th May 2005 06:07
well, as smooth as possible lol, mine sorta clicks through angles, e.g. when i zoom in with the sniper i cant aim at anyone because it skips parts...



"Well, if he dies, it'll teach him not to do it again." - Me
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 8th May 2005 06:20 Edited at: 8th May 2005 06:21
when you zoom in then reduce the amount the camera turns per loop, eg

zoom=1<<<<no zoom

turn camera left 1/1

zoom=5<<<< zoomed in a lot

turn camera left 1/5

zoom=10 <<<< max zoom

turn camera left 1/10

so the more you zoom in the finer the movement control gets, otherwise (as you found) you end up hopping and skipping all over the scenery and can`t hit anything.

Mentor.

PC1:XP, P4 3ghz, 1gig mem, 3x160gig hd`s, Radeon 9800pro, 6 way sound.
PC2: Linux, AMD 2ghz, 512mb ram, Nvidia GeForce4mx, 16 bit SB.
PC3: XP, laptop, intel 2.6ghz celeron, ATI 9000igp, 256mb
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 8th May 2005 21:39
How out this code:



arrow keys to move, mouse to look and mousewheel to zoom.
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 9th May 2005 00:39
thanks, thats great



"Well, if he dies, it'll teach him not to do it again." - Me

Login to post a reply

Server time is: 2025-05-23 02:00:09
Your offset time is: 2025-05-23 02:00:09