gravity and floor. TODO: send level data to clients
This commit is contained in:
@@ -168,7 +168,7 @@ fn client_sync_players(
|
||||
let mut client_entity = commands.spawn_bundle(SpriteBundle {
|
||||
sprite: Sprite {
|
||||
color: Color::rgb(0., 0.47, 1.),
|
||||
custom_size: Some(Vec2::new(1., 1.)),
|
||||
custom_size: Some(Vec2::new(5., 5.)),
|
||||
..Default::default()
|
||||
},
|
||||
..Default::default()
|
||||
@@ -207,7 +207,7 @@ fn client_sync_players(
|
||||
let projectile_entity = commands.spawn_bundle(SpriteBundle {
|
||||
sprite: Sprite {
|
||||
color: Color::rgb(0.25, 0.25, 0.75),
|
||||
custom_size: Some(Vec2::new(50.0, 100.0)),
|
||||
custom_size: Some(Vec2::new(5., 5.0)),
|
||||
..default()
|
||||
},
|
||||
..default()
|
||||
|
Reference in New Issue
Block a user