gamercade-io / gamercade_console

A Neo-Retro Fantasy Console. Make WASM-powered, networked multiplayer games.
https://gamercade.io
Apache License 2.0
165 stars 10 forks source link

Incorporate input_delay settings for p2p sessions #101

Open RobDavenport opened 4 months ago

RobDavenport commented 4 months ago

Adding input delay can reduce rollbacks and smooth out the experience, at the cost of some delayed inputs.

There should be an option to customize this number for users, as it is supported by GGRS via SessionBuilder and with_input_delay

RobDavenport commented 3 months ago

I added some hard coded values for the time being based on frame rates. Its in the add app branch.