Questions tagged [frame-rate]

The frequency which an imaging device produces unique consecutive images. It is most often expressed in frames per second (FPS).

The frequency which an imaging device produces unique consecutive images. It is most often expressed in frames per second (FPS).

210 questions
12
votes
3 answers

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 frame independent movement because I don't…
ShrimpCrackers
  • 514
  • 1
  • 4
  • 9
9
votes
2 answers

Framerate limitation

The most successful competitive game engines like id Tech, GoldSrc, Source and such allow for framerate limitations. You can play with 30, with 60, with 99, with 72, with 68 etc. In short, you can cap it and control the cap. I was wondering, how do…
tomsseisums
  • 3,366
  • 4
  • 30
  • 40
6
votes
3 answers

Should frame rate affect the speed in a game engine?

I am writing a 2D game engine for fun. I am able to perform animation using the engine. However, if I change the frame rate (frames per second) the speed of the animation changes. I have never used any game engine. I want to know whether other game…
Cracker
  • 497
  • 4
  • 10
5
votes
1 answer

How do games with a low tickrate but high framerate work?

How do games with a low tickrate make things work? I.e. how do they manage to stay responsive despite the fact that interpolating gamestates for rendering adds input delay? Is there some method besides simple interpolation that allows for fps above…
Wingblade
  • 264
  • 2
  • 10
2
votes
1 answer

Precise exposition of an image for set number of frames (Vsync?)

I need to make a simple enough program in C#, but it seems to be impossible via usual WinForms means. I need to show something (a string of text, an image) on the screen for very small time interval. Since typical monitors are 60Hz, this interval…
Istrebitel
  • 133
  • 5
2
votes
1 answer

How can I get my objects to move at the same speed regardless of frame rate?

I tried using the methods on lazyfoo's site for frame rate independence. One problem I'm having though is that my game is running at different speeds on different computers. The differences are drastic. For example, on a Core 2 Duo 2.4 ghz 2gb ram…
ShrimpCrackers
  • 514
  • 1
  • 4
  • 9
1
vote
1 answer

Locked frame rate

I'm a little bit confused about the way game engines handle frame rate. Correct me if I'm wrong: By my assumptions, usually we have a frame rate which graphical API runs by it and a frame rate called fixed frame rate which other parties like…
MahanGM
  • 367
  • 4
  • 22
1
vote
1 answer

What is the correct way of implementing a deterministic frame update?

My goal: Implement the game update loop so that it's deterministic (i.e. every frame of updation behaves the same when run multiple times with same frame-input, does not depend on processing speed etc.) Limit the framerate of the game at (maximum)…
Lake
  • 143
  • 8
1
vote
1 answer

How can I measure ms between frame to reproduce it

Hello I'm coding a extension to an existing game - not really an extension since a re-code all so the it looks like another adventure for player - and to achieve it I use existing tilesets and so, but my main problem is for animated tilesets, I…
1
vote
0 answers

How to keep my auto-aim in sync with the rendered frame?

In my FPS game there is an automated lock system. If you stare at an enemy, your weapon locks onto the enemy as long as your aim is hovering approximately around the target. If my player sets frame rate high (say they changed frame rate from 60 to…
Blue Bug
  • 1,112
  • 11
  • 26
1
vote
2 answers

Can I render at 50fps instead of 60fps, what are the drawbacks?

When reading on frame rate, I usually encounter the following suggestions: render as fast as possible render to 60 fps I want to make a 2d game that runs in slow computers, and i've been surprised by how Cave Story smooth is and that it runs at 50…
0
votes
1 answer

How to apply a factor over multiple frames?

am trying to do something that should be quite common in games: Applying a factor over a certain amount of time. For example let's say a number should become a quarter of itself every second. How do we do this with variable frame rate? I have…
DragonGamer
  • 165
  • 8