this post was submitted on 15 Jun 2023
73 points (100.0% liked)

Gaming

30571 readers
462 users here now

From video gaming to card games and stuff in between, if it's gaming you can probably discuss it here!

Please Note: Gaming memes are permitted to be posted on Meme Mondays, but will otherwise be removed in an effort to allow other discussions to take place.

See also Gaming's sister community Tabletop Gaming.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] m-p-3@kbin.social 35 points 1 year ago (5 children)

What irks me is when game developers ties the physics engine to the framerate. We all know this will cause issues down the road, could we just.. not?

[–] barsoap@lemm.ee 9 points 1 year ago

Not doing it also causes issues in the form of micro stutters when some but not other frames have updated physics or not. Frame pacing is hard, and locking everything down happens to be the only sure-fire way to completely eliminate display issues. But then, of course, you have a locked frame rate.

[–] dill@lemmy.one 4 points 1 year ago (1 children)

I imagine there is some reason we still see this. Any devs in the Industry lurking?

[–] larperdoodle@startrek.website 8 points 1 year ago (1 children)

I'm not in the industry, but I've dabbled in Unity and that's just kind of how it works by default. You create a game object and it gets an Update() function that is called once per frame. You're encouraged to perform calculations and update it's position in that callback.

You're supposed to use Time.deltaTime to scale your calculations based on how long it's been since the last frame.

But that takes effort and it's very easy to just not do that and your game will still work fine in most cases.

[–] Skyhighatrist@beehaw.org 1 points 1 year ago

Unity also has FixedUpdate which is encouraged to be used for any physics related updates.

They better delivery that "visual fidelity" if you are already capping at 30 fps on a current-gen console.

[–] PrivateButts@u.fail 1 points 1 year ago

I think they fixed this with Fallout 76, so here's hoping that those changes also made its way into their future projects.

[–] Gert@beehaw.org 0 points 1 year ago (2 children)

Is this really a thing lately? Maybe on some Switch games, but I think most modern games can have a dynamic framerate.

[–] Taxxor@feddit.de 4 points 1 year ago* (last edited 1 year ago) (2 children)

Remember Red Dead Redemption 2? On PC, your stats depleted faster the more FPS you had so with 60FPS you'd get hungry twice as fast as with 30FPS. Iirc even the sun moved faster so a day was only half as long.

[–] Cloak@lemmy.ml 1 points 1 year ago

How does that work in multiplayer

[–] Hubi@feddit.de 4 points 1 year ago* (last edited 1 year ago) (1 children)

Skyrim famously did this. So the concern that Starfield could have similar issues is not unfounded.

[–] buckykat@lemmy.fmhy.ml 11 points 1 year ago

One one hand, Skyrim was released in 2011, on the other hand Skyrim was also released in 2022