HouraiTeahouse / backroll-rs

A (almost) 100% pure safe Rust implementation of GGPO-style rollback netcode.
ISC License
351 stars 18 forks source link

Example for bevy_backroll #18

Open NiklasEi opened 3 years ago

NiklasEi commented 3 years ago

Thank you for this, looks awesome!

Could we get a minimalistic bevy app example that uses bevy_backroll? I think that would help getting into the whole networking and backroll topic.

ValorZard commented 3 years ago

There currently is one over here: https://github.com/ValorZard/Bevy-Backroll-Sample However, it doesn't currently work yet due to: https://github.com/HouraiTeahouse/backroll-rs/issues/17

jake-small commented 3 years ago

backroll-rs is really cool, and so is your Bevy template! I tried my hand at combining them here: https://github.com/jake-small/backroll_bevy_template

It's not complete, but I did get it to work on a local network (though player 2's actions don't work yet).