Skip to content

Commit

Permalink
use git version for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Bendzae committed Jul 18, 2024
1 parent c462568 commit fab2716
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ bevy = { version = "0.14", default-features = false, features = [
"x11",
"default_font",
] }
bevy_replicon_renet = "0.3.0"
bevy_replicon_renet = { git = "https://github.com/projectharmonia/bevy_replicon_renet.git", rev = "93f4eb86eda4ee716ea20ab0df9cf282f4084c02" }

[package.metadata.commands]
example_interpolation = "cargo run --example interpolated -- server & cargo run --example interpolated -- client && fg"
Expand Down
6 changes: 3 additions & 3 deletions examples/interpolated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl SimpleBoxPlugin {
commands.spawn(PlayerBundle::new(
ClientId::SERVER,
Vec2::ZERO,
Color::GREEN,
bevy::color::palettes::css::GREEN.into(),
));
}
Cli::Server { port } => {
Expand Down Expand Up @@ -125,7 +125,7 @@ impl SimpleBoxPlugin {
commands.spawn(PlayerBundle::new(
ClientId::SERVER,
Vec2::ZERO,
Color::GREEN,
bevy::color::palettes::css::GREEN.into(),
));
}
Cli::Client { port, ip } => {
Expand Down Expand Up @@ -184,7 +184,7 @@ impl SimpleBoxPlugin {
commands.spawn(PlayerBundle::new(
*client_id,
Vec2::ZERO,
Color::rgb(r, g, b),
Color::srgb(r, g, b),
));
}
ServerEvent::ClientDisconnected { client_id, reason } => {
Expand Down
6 changes: 3 additions & 3 deletions examples/no_interpolation_or_prediction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl SimpleBoxPlugin {
commands.spawn(PlayerBundle::new(
ClientId::SERVER,
Vec2::ZERO,
Color::GREEN,
bevy::color::palettes::css::GREEN.into(),
));
}
Cli::Server { port } => {
Expand Down Expand Up @@ -118,7 +118,7 @@ impl SimpleBoxPlugin {
commands.spawn(PlayerBundle::new(
ClientId::SERVER,
Vec2::ZERO,
Color::GREEN,
bevy::color::palettes::css::GREEN.into(),
));
}
Cli::Client { port, ip } => {
Expand Down Expand Up @@ -177,7 +177,7 @@ impl SimpleBoxPlugin {
commands.spawn(PlayerBundle::new(
*client_id,
Vec2::ZERO,
Color::rgb(r, g, b),
Color::srgb(r, g, b),
));
}
ServerEvent::ClientDisconnected { client_id, reason } => {
Expand Down
6 changes: 3 additions & 3 deletions examples/owner_predicted.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl SimpleBoxPlugin {
commands.spawn(PlayerBundle::new(
ClientId::SERVER,
Vec2::ZERO,
Color::GREEN,
bevy::color::palettes::css::GREEN.into(),
));
}
Cli::Server { port } => {
Expand Down Expand Up @@ -129,7 +129,7 @@ impl SimpleBoxPlugin {
commands.spawn(PlayerBundle::new(
ClientId::SERVER,
Vec2::ZERO,
Color::GREEN,
bevy::color::palettes::css::GREEN.into(),
));
}
Cli::Client { port, ip } => {
Expand Down Expand Up @@ -188,7 +188,7 @@ impl SimpleBoxPlugin {
commands.spawn(PlayerBundle::new(
*client_id,
Vec2::ZERO,
Color::rgb(r, g, b),
Color::srgb(r, g, b),
));
}
ServerEvent::ClientDisconnected { client_id, reason } => {
Expand Down

0 comments on commit fab2716

Please sign in to comment.