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 Professional Discussion / Problems with camera movement

Author
Message
kamac
15
Years of Service
User Offline
Joined: 30th Nov 2010
Location: Poland
Posted: 19th Jan 2011 16:53
Hi, as always i've got problems with camera .

I don't know how to make it face just as your mouse moves. For example how to make it moving like in FPS Creator, or every FPS shooter games. Any examples, please ?

Cheers!

~Kamac
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 19th Jan 2011 18:01
Just use either answer from the following post: http://forum.thegamecreators.com/?m=forum_view&t=168591&b=1 - the second answer is more complete though.

Moaz
15
Years of Service
User Offline
Joined: 18th Jan 2011
Location:
Posted: 19th Jan 2011 18:48 Edited at: 19th Jan 2011 21:27


it's divided by 5.0 to control the speed of the rotation, inc/dec it as like.
Chris Ganuza
18
Years of Service
User Offline
Joined: 18th Dec 2007
Location: EU
Posted: 23rd Jan 2011 06:16

Login to post a reply

Server time is: 2026-07-18 02:09:09
Your offset time is: 2026-07-18 02:09:09