# netcode

Published articles for netcode.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Bevygap: Autoscaling multiplayer Bevy game servers with Edgegap & Lightyear

DevFeed: [Bevygap: Autoscaling multiplayer Bevy game servers with Edgegap & Lightyear](<https://devfeed.tech/articles/bevygap-autoscaling-multiplayer-bevy-game-servers-with-edgegap-lightyear-25816.md>)

Original publisher: [Read original article](<https://www.metabrew.com/article/bevygap-bevy-multiplayer-with-edgegap-and-lightyear>)

Author: {"image"=\>"rj-headshot.jpg", "greetings"=\>nil}

Published: 2024-12-09T06:00:00Z

Content type: article

Language: en

Sources: [Richard Jones](<https://devfeed.tech/sources/richard-jones.md>)

Topics: [Bevy](<https://devfeed.tech/topics/bevy.md>), [autoscaling](<https://devfeed.tech/topics/autoscaling.md>), [inference-endpoints](<https://devfeed.tech/topics/inference-endpoints.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [API](<https://devfeed.tech/topics/api.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [wasm](<https://devfeed.tech/topics/wasm.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [autoscaling](<https://devfeed.tech/tags/autoscaling.md>), [bevy](<https://devfeed.tech/tags/bevy.md>), [bevygap](<https://devfeed.tech/tags/bevygap.md>), [docker](<https://devfeed.tech/tags/docker.md>), [edgegap](<https://devfeed.tech/tags/edgegap.md>), [game-servers](<https://devfeed.tech/tags/game-servers.md>), [gamedev](<https://devfeed.tech/tags/gamedev.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [latency](<https://devfeed.tech/tags/latency.md>), [multiplayer](<https://devfeed.tech/tags/multiplayer.md>), [netcode](<https://devfeed.tech/tags/netcode.md>), [rust](<https://devfeed.tech/tags/rust.md>), [wasm](<https://devfeed.tech/tags/wasm.md>)

### AI overview

This article describes adapting the Lightyear spaceships example into a server-authoritative multiplayer Bevy game and deploying its client and headless server with Docker. It explains using Edgegap to deploy game servers in suitable locations on demand and autoscale them in response to player demand, with supporting infrastructure including GitHub Actions and NATS.

### Source excerpt

If i'm going to write a server-authoritative multiplayer game, it would be nice to have a decent way to deploy it. Especially to deploy servers around the world in response to player demand, to autoscale and keep latency down.

## Rock and Rollback: Realtime multiplayer in the browser, with rust and bevy

DevFeed: [Rock and Rollback: Realtime multiplayer in the browser, with rust and bevy](<https://devfeed.tech/articles/rock-and-rollback-realtime-multiplayer-in-the-browser-with-rust-and-bevy-25823.md>)

Original publisher: [Read original article](<https://www.metabrew.com/article/rock-and-rollback-realtime-multiplayer-games-with-bevy>)

Author: {"image"=\>"rj-headshot.jpg", "greetings"=\>nil}

Published: 2024-12-08T06:00:00Z

Content type: tutorial

Language: en

Sources: [Richard Jones](<https://devfeed.tech/sources/richard-jones.md>)

Topics: [browser](<https://devfeed.tech/topics/browser.md>), [browser-game](<https://devfeed.tech/topics/browser-game.md>), [realtime](<https://devfeed.tech/topics/realtime.md>), [Bevy](<https://devfeed.tech/topics/bevy.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [QUIC](<https://devfeed.tech/topics/quic.md>), [WebRTC](<https://devfeed.tech/topics/webrtc.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>)

Tags: [bevy](<https://devfeed.tech/tags/bevy.md>), [bevygap](<https://devfeed.tech/tags/bevygap.md>), [browser](<https://devfeed.tech/tags/browser.md>), [gamedev](<https://devfeed.tech/tags/gamedev.md>), [http-3](<https://devfeed.tech/tags/http-3.md>), [multiplayer](<https://devfeed.tech/tags/multiplayer.md>), [netcode](<https://devfeed.tech/tags/netcode.md>), [quic](<https://devfeed.tech/tags/quic.md>), [realtime](<https://devfeed.tech/tags/realtime.md>), [rust](<https://devfeed.tech/tags/rust.md>), [snapshots](<https://devfeed.tech/tags/snapshots.md>), [udp](<https://devfeed.tech/tags/udp.md>), [webrtc](<https://devfeed.tech/tags/webrtc.md>)

### AI overview

This article discusses building a realtime multiplayer browser game with Rust and Bevy. It explains why TCP can delay updates, considers WebRTC and WebTransport over HTTP/3 and QUIC for unreliable data channels, and introduces snapshot interpolation as a multiplayer networking model.

### Source excerpt

How hard it is to build a realtime multiplayer browser game? Like asteroids, but multiplayer. Retro vibes with modern netcode 🚀.