Questions tagged [frame-rate]
The frequency which an imaging device produces unique consecutive images. It is most often expressed in frames per second (FPS).
212 questions
5
votes
3
answers
1k
views
What factors determine the frame rate in game programming?
I read that frame rate depends on the monitor's refresh rate, as described in the following Japanese article:
https://siv3d.github.io/ja-jp/tutorial2/motion/#181-%E7%B5%8C%E9%81%8E%E6%99%82%E9%96%93%...
1
vote
2
answers
74
views
Inconsistent Movement Behaviour between built Game and Playmode
I'm using a simple MonoBehaviour that causes GameObjects to change their position based on a ...
0
votes
1
answer
80
views
I want to limit my in-game FPS in my Unity game to 20 FPS, but this causes screen tearing in the build. How do I get rid of the tearing?
I have tried vSync, but in other forums I have read the vSync ignores the targetFramerate. Is there a way I can keep a 20 FPS cap without screen tearing? In my game I am trying to achieve a nostalgic ...
0
votes
0
answers
180
views
Why can't I limit FPS inside Unity editor?
I have an Unity app that requires a stable fps in editor. The fps itself is really high anywhere from 200 to 280 the problem is that is not consistent. I tried to limit it with the code belove but it ...
1
vote
0
answers
288
views
Programmatically get FPS in Ursina
In Ursina, how can I programmatically obtain the current FPS count as number (like extracting it from the fps counter in the upper-right corner)? I need this for phyiscs calculations in Ursina.
I have ...
1
vote
1
answer
87
views
Adaptation of values from previous constant frame rate to new constant frame rate
I'm trying to learn how to adapt my old values to new values. First of all, I don't use delta time at all. My game has lock with 30 FPS and I want to lock it with 60 FPS, I wrote all my values in ...
0
votes
1
answer
110
views
Moving Multiple Objects With Vector2.MoveTowards Not Consistent
Good Afternoon,
I'm trying to move three objects from their current position to a shared target position based on speed. Once they reach the target position, they move to a shared respawn location and ...
1
vote
1
answer
70
views
What if I use delta time to just regulate framerate but not individual entities?
What if, instead of multiplying all my values that change each frame by delta time, I just increased one number in increments multiplied by delta time, and used that number to advance to the next ...
0
votes
1
answer
286
views
How to sync ticks(Frames) between two peers?
I have a peer to peer game where both clients are running their own frame simulation. I'd like to sync the frame ticks so both peers know eachother's frame. But I"m having a bit of issue with ...
0
votes
1
answer
307
views
WebGL FPS is sometimes higher than max. FPS setting - why?
In lots of WebGL online games (all games I tested were made with Unity), my FPS is sometimes higher than the max, FPS setting of my PC (75), but why?
0
votes
3
answers
380
views
Coroutine delay isn't consistent on different framerates
My problem:
I am using a coroutine to add a typewriter effect to my texts, but the delay (using yield return new WaitForSeconds();) isn't consistent on different ...
2
votes
0
answers
1k
views
Unity 2021/2022 laggy/stuttering Android performance compared to Unity 2020
I have been working for quite a lot of time with the Unity 2020.3 LTS releases and everything seems to be running smoothly when building for the Android platform. I recently decided to upgrade the ...
0
votes
0
answers
142
views
How to know fps of game running on Mesa 3D on Windows 10
I am running some old OpenGL 3D application. I don´t have source code from the application but I assume it was implemented with OpenGL 2.0 or 2.1. I am running it on Windows 10 on Intel UHD graphics ...
0
votes
1
answer
305
views
Frame duration varies by a millisecond every few frames
When I run the program at 60 fps, I get 0.016 seconds per frame most of the time, then 0.017 s once every few frames. A similar thing happens for 30 fps, varying between 0.033 and 0.034 seconds per ...
1
vote
1
answer
181
views
How to properly port 30 FPS physics with integers to 60 FPS and maybe floats?
I've inherited a code base in which everything is coded to run at 30 FPS and uses integers.
I would like to upgrade the frame rate to 60 FPS, naturally I thought about using floats but it ain't that ...