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 / camera speed for scope

Author
Message
Derekioh
15
Years of Service
User Offline
Joined: 1st Feb 2009
Location:
Posted: 2nd Nov 2009 18:00
hey, i have this scope code for my FPS game and i\'m wondering how do i decrese the speed of my camera movement for the scope.

here is the code:
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 2nd Nov 2009 21:38
Well, there's a few different ways to "slow down" the movement of objects or your camera.

You could put in sync commands limiting the refresh rate to a lower frame rate.

You can have the object or camera move in smaller increments, like say .01 instead of 1.0 or 0.1.

You can put in a delay between each movement.

There's probably more, but that's all I can think of at the moment.

Good luck!
Rich

Derekioh
15
Years of Service
User Offline
Joined: 1st Feb 2009
Location:
Posted: 3rd Nov 2009 03:25
Now, i tried the increments and i don't think i'm doing it right, could you give me some example codes using my code or just some code.

thx alot for your help

Login to post a reply

Server time is: 2024-09-28 12:24:46
Your offset time is: 2024-09-28 12:24:46