Skip to content

Commit

Permalink
A player has a size, a camera has a scale
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Jul 14, 2024
1 parent a384f00 commit 223e755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn add_player(mut commands: Commands) {
commands.spawn((
SpriteBundle {
transform: Transform {
scale: Vec3::new(64.0, 32.0, 1.0),
size: Vec3::new(64.0, 32.0, 1.0),

Check failure on line 28 in src/app.rs

View workflow job for this annotation

GitHub Actions / build_and_test

struct `bevy::prelude::Transform` has no field named `size`
..default()
},
..default()
Expand Down

0 comments on commit 223e755

Please sign in to comment.