chainpullz wrote:
Game logic and graphics are always run on different threads. What actually pops up on your screen is a snapshot not a live feed. Your fps only determines how frequently snapshots are taken. Taking a snapshot takes a negligible amount of resources in comparison to rendering. Input devices come in on an entirely separate thread as well which is devoted simply to listening for signals from the drivers. If you select raw input you can see what the polling rate is for this (it's pretty disgusting for tablet if you don't already know).
chainpullz wrote:
I'm just explaining common practices for pretty much any application with a graphical interface. If you don't want to take my word on it as a software engineer then in my eyes you are a lost cause (not that I keep my hopes up). :p
hey, as someone who's in the same position, yeah, I had assumed this at first too
and everything is true, except for the "always" up there. afaik, and please don't quote me on this, the game (used to?) run(s) in a single thread, but that's second-hand information I never confirmed. It's kind of a gray area and some acknowledge it, some don't, but it's definitely, well, possible.
I know they're common practices, and they're common practices for reasons that should be obvious to anyone with a bit of technical knowledge and at least half a brain. But you need to understand that, given that this game was written by one guy (others joined later on), as a personal project, from ground up, eight years ago, I wouldn't be so sure it follows any common practices or standards.
Kaoru wrote:
bigfeh wrote:
Interrupts are still handled by a kernel-level driver, not the game. Raw input simply bypasses OS postprocessing, if there's any
Having a higher polling rate will never affect how precise or responsive the game is, no matter how retarded the code gets
If you switch directly between hardware with 150hz polling rate and 1000hz polling rate the input delay is noticeable. I have tested it firsthand
missed the point, reread the post
that's not what I said