Skip to content

Commit

Permalink
Display platformer the right way up (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbevin authored and not-fl3 committed Dec 29, 2023
1 parent ce4671b commit adb1e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/platformer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async fn main() {
speed: 50.,
};

let camera = Camera2D::from_display_rect(Rect::new(0.0, 0.0, 320.0, 152.0));
let camera = Camera2D::from_display_rect(Rect::new(0.0, 152.0, 320.0, -152.0));

loop {
clear_background(BLACK);
Expand Down

0 comments on commit adb1e77

Please sign in to comment.