#connection #p2p #browser #rollback-networking #game #how #low-latency

app johanhelsing/extreme_bevy

A low-latency multiplayer action game, showcasing how to implement p2p connections and rollback networking in a web browser

1 unstable release

0.1.0 Apr 25, 2022

#642 in Games

96 stars & 6 watchers

21KB
510 lines

Extreme Bevy

Extreme Bevy is what you end up with by following my tutorial series on how to make a low-latency p2p web game.

There game can be played here: https://helsing.studio/extreme

It's a showcase on how to use the following together:

  • Bevy: ECS game engine for rust users.
  • GGRS for rollback networking
  • Matchbox for p2p connections between browsers

Word of caution

I intend to keep the git history of this repo as clean as possible. That means that whenever there is a new major version of one of my dependencies (or a bug fix). I'll rebase the history, instead of putting the commit at the end. That way I can easily link from the tutorial to relevant commits in the history in this repo. It also means I will force-push main and move tags around.

License

This project is licensed under CC0 1.0 Universal. I'd be happy to hear if you found it useful or made anything with it, though! @johanhelsing@mastodon.social.

Dependencies

~49–94MB
~1.5M SLoC