4 ms·
You might be interested in checking out https://www.ggpo.net/ https://www.ggpo.net/. It's an open source C++ library for game networking that's used mainly in f
by Dirak 4y ago
You might be interested in checking out https://www.ggpo.net/ https://www.ggpo.net/. It's an open source C++ library for game networking that's used mainly in fighting games and it implements support for input prediction and rollback. They also have articles and documentation that cover the various implementations of netcode, how they're implemented, and their trade-offs.
I used what I learned from reading the articles on their site to implement my own input prediction and rollback netcode for my personal side project. It's a pretty useful resource, and helps organize my project in other ways too such as informing me of ways I can structure event messages, handle input valuation, etc.