Linked Questions

0
votes
2answers
833 views

How to adjust my games speed to fps [duplicate]

Hi so i am making a small sort of physics engine, but if your fps is really slow the physics will update slower and objects will move slower. How do i make the speed of objects greater if the fps is ...
2
votes
1answer
496 views

What is the difference between framerate independent vs framerate dependent? [duplicate]

What is the difference between framerate independent vs framerate dependent? Can you please give an example.
3
votes
1answer
402 views

What are the advantages of having a real time based physics? [duplicate]

Possible Duplicate: Fixed time step vs Variable time step Now just let me clarify what I mean by "real time based physics", which I will call RTBP from now on. Well, basically, it implies taking, ...
0
votes
2answers
95 views

java capping fps [duplicate]

hello again I have a basic platformer game and I want to make an fps counter and cap the fps to 30 but I don't know how. I want this because when I start up the game sometimes the character moves ...
0
votes
1answer
107 views

Fps independent rotation [duplicate]

I'm trying in my game to have camera rotation speed idependent of fps. For keyboard it works without problems but not for mouse movoment. At 60 fps it works good but at 200 for example rotation is to ...
18
votes
2answers
4k views

RTS Game Protocol

I've been thinking about a multi player RTS game. The part that I can't seem to get around is keeping unit movement synced. If I move unit A to spot XY, I have to communicate that back to server that ...
13
votes
1answer
48k views

How to get and use delta time

I have mice looking and walking in my game, but they are very slow and hard to use. I think it's because I'm using fixed speed. I heard that in big projects developers use delta time. How do I ...
11
votes
3answers
12k views

Frame Independent Movement

I've read two other threads here on movement: Time based movement Vs Frame rate based movement?, and When should I use a fixed or variable time step? but I think I'm lacking a basic understanding of ...
7
votes
5answers
4k views

How to save and restore Bullet Physics state?

I'm looking for information on how to save the runtime state of rigid bodies with Bullet Physics. Most of my world consists of static objects, but I have a few dynamic and kinematic objects as well. I ...
15
votes
2answers
10k views

Semi-fixed or Fully-fixed timestep?

I am making an iphone shmup and am trying to decide what type of game loop to use. I want to use either semi-fixed timestep or fully-fixed timestep. With semi-fixed timestep I will make zero or more ...
8
votes
1answer
14k views

Time based movement Vs Frame rate based movement?

I'm new to Game programmming and SDL, and I have been following Lazyfoo's SDL tutorials. My question is related to time based motion and frame rate based motion, basically which is better or ...
4
votes
5answers
8k views

Game Timer In C++

I need to be able to find out how many milliseconds since that last update. Is there any way I can find it out with time rather then a thread that counts like I did below? ...
5
votes
2answers
2k views

Is it safe to set FPS rate to a constant?

I learned from game class that in update function, every movements must be time dependent for the sake of linearity in movement. We made a simple game. Every move like going left, right or jump is ...
7
votes
1answer
21k views

How do I make a game tick method?

I've seen in some other simple 2D games that a "tick" method is used to sync game logic and graphics rendering. My main reason for using this is due to my collision detection malfunctioning, since ...
5
votes
4answers
3k views

Still confused about timesteps in XNA

I have been reading many different posts and articles about timesteps and while I now understand that fixed timesteps are generally considered superior, I'm having a bit of difficulty implementing one ...

15 30 50 per page