Skip to content

Commit

Permalink
Merge pull request Henauxg#16 from olibols/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Henauxg authored Mar 10, 2023
2 parents 52e34bf + d15d0d5 commit 0f67afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ This demo is a modification of the classic [Bevy breakout](https://bevyengine.or

It hosts a local server from inside a client, instead of a dedicated headless server as in the chat demo. You can find a [server module](examples/breakout/server.rs), a [client module](examples/breakout/client.rs), a shared [protocol](examples/breakout/protocol.rs) and the [bevy app schedule](examples/breakout/breakout.rs).

It also makes uses of [`Channels`](#channels). The server broadcasts the paddle position every tick via the `PaddleMoved` message on an `Unreliable` channel, the `BrickDestroyed` and `BallCollided` events are emitted on an `UnorderedReliable` channel, while the game setup and start are using the default `OrdrerdReliable` channel.
It also makes uses of [`Channels`](#channels). The server broadcasts the paddle position every tick via the `PaddleMoved` message on an `Unreliable` channel, the `BrickDestroyed` and `BallCollided` events are emitted on an `UnorderedReliable` channel, while the game setup and start are using the default `OrderedReliable` channel.

Start two clients with `cargo run --example breakout`, "Host" on one and "Join" on the other.

Expand Down

0 comments on commit 0f67afa

Please sign in to comment.