You are viewing a single thread.
View all comments View context
3 points

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

permalink
report
parent
reply
8 points

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply

Gaming

!gaming@beehaw.org

Create post

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.

Community stats

  • 2.1K

    Monthly active users

  • 3K

    Posts

  • 54K

    Comments