mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
Fix warnings and remove debug logs
This commit is contained in:
parent
ff89f7f425
commit
97e3948f32
|
@ -6,7 +6,7 @@ use agb::{
|
||||||
tiled::{AffineBackgroundSize, TileFormat, TileSet, TiledMap},
|
tiled::{AffineBackgroundSize, TileFormat, TileSet, TiledMap},
|
||||||
Priority,
|
Priority,
|
||||||
},
|
},
|
||||||
fixnum::{num, Num},
|
fixnum::num,
|
||||||
include_gfx,
|
include_gfx,
|
||||||
input::Tri,
|
input::Tri,
|
||||||
};
|
};
|
||||||
|
@ -54,7 +54,6 @@ fn main(mut gba: agb::Gba) -> ! {
|
||||||
};
|
};
|
||||||
|
|
||||||
let new_scroll_pos = bg.scroll_pos() + x_dir + y_dir;
|
let new_scroll_pos = bg.scroll_pos() + x_dir + y_dir;
|
||||||
agb::println!("{:?}", new_scroll_pos);
|
|
||||||
bg.set_scroll_pos(new_scroll_pos);
|
bg.set_scroll_pos(new_scroll_pos);
|
||||||
bg.set_transform((0i16, 0i16).into(), (1, 1).into(), rotation);
|
bg.set_transform((0i16, 0i16).into(), (1, 1).into(), rotation);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue