pond3r / ggpo

Good Game, Peace Out Rollback Network SDK
MIT License
3.11k stars 360 forks source link

Simulate Frame Delay w/ Only Local Players #61

Open Eoin-ONeill-Yokai opened 3 years ago

Eoin-ONeill-Yokai commented 3 years ago

BUG #55

This commit enables running GGPO w/ input delay when only local players are present. This allows the client to simulate a ggpo instance with a specific frame delay setting with only local players. Example usage would be to simulate input delay for a fighting game training room.

@pond3r This is an implementation using your suggested work around, which seemed to improve local-only simulation needs without having to do the wrapper I mentioned in the bug report; Though I'm not sure if there should be additional configuration to enable / disable this feature, or if it's fine to simply do what I'm doing now.