this post was submitted on 25 Jan 2024
1380 points (94.9% liked)

Gaming

2904 readers
63 users here now

!gaming is a community for gaming noobs through gaming aficionados. Unlike !games, we don’t take ourselves quite as serious. Shitposts and memes are welcome.

Our Rules:

1. Keep it civil.


Attack the argument, not the person. No racism/sexism/bigotry. Good faith argumentation only.


2. No sexism, racism, homophobia, transphobia or any other flavor of bigotry.


I should not need to explain this one.


3. No bots, spam or self-promotion.


Only approved bots, which follow the guidelines for bots set by the instance, are allowed.


4. Try not to repost anything posted within the past month.


Beyond that, go for it. Not everyone is on every site all the time.



Logo uses joystick by liftarn

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 44 points 7 months ago (2 children)

No idea why they attached the FPS directly to the hardware.

It's the most trivial and straight forward thing to do. The game is a simple loop of:

  • get user input (can be nothing)
  • calculate new game state based on old state and input
  • draw new game state.

The speed of the game is now 100% dependant on the speed of computation. NOT attaching fps to hardware is the hard thing, as you need to detach the game state loop and the drawing loop and then synchronize them. Doing that yourself is extremely complicated. Today developers don't even need to think about that because the whole drawing loop is abstracted away by things like directX/Vulcan and the game engine. But without those tools, fps tied to CPU speed is basically the default.

[–] [email protected] 13 points 7 months ago (1 children)

And in fairness a lot of microcomputers at the time were closed specs. Even on PC for a while you were theoretically aiming at a 4Mhz XT or, at worst, also wanted to account for a 8MHz AT. By the time IBM clones had become... you know, just PCs, a lot of devs either didn't get the memo or chose to ignore it for the reasons you list.

Most of the time "lazy devs" are just "overworked and underfunded devs", but the point is, that didn't start this century.

[–] [email protected] 13 points 7 months ago

Also games have gotten way more complicated since the gameboy colour era. I've coded a basic 2D physics engine from scratch (literally just circles with soft collisions) and its not just enough to set up the vector math correctly. You can literally make a true to real life physics model (as far as the math of infinitely rigid perfect spheres on a perfectly flat plane goes anyway) and have all sorts of problems crop up because computers aren't the universe and order of computation is a bitch.

[–] [email protected] 9 points 7 months ago (1 children)

Even the first Dark Souls had game ticks tied to the FPS because consoles had been standardized to 30 FPS for decades.

On the PC port, it was locked to 30 FPS, but a super popular mod unlocked the FPS, and at 60 FPS DoT effects ticked twice as fast, and at even higher FPS could kill you before you had time to react.

[–] [email protected] 4 points 7 months ago

GTA San Andreas has an option to uncap the framerate on PC, which outright breaks certain mechanics.