diff --git a/examples/hyperspace-roll/src/lib.rs b/examples/hyperspace-roll/src/lib.rs index cc68b24e..793eed6c 100644 --- a/examples/hyperspace-roll/src/lib.rs +++ b/examples/hyperspace-roll/src/lib.rs @@ -13,7 +13,7 @@ #![cfg_attr(test, test_runner(agb::test_runner::test_runner))] use agb::display::object::ObjectController; -use agb::display::tiled::{TiledMap, VRamManager}; +use agb::display::tiled::{TileFormat, TiledMap, VRamManager}; use agb::display::Priority; use agb::interrupt::VBlank; use agb::{display, sound::mixer::Frequency}; diff --git a/examples/the-hat-chooses-the-wizard/src/lib.rs b/examples/the-hat-chooses-the-wizard/src/lib.rs index c7149dd0..cfd98e30 100644 --- a/examples/the-hat-chooses-the-wizard/src/lib.rs +++ b/examples/the-hat-chooses-the-wizard/src/lib.rs @@ -857,7 +857,11 @@ pub fn main(mut agb: agb::Gba) -> ! { let map_current_level = current_level; let mut background = InfiniteScrolledMap::new( - tiled.background(Priority::P2, RegularBackgroundSize::Background32x64), + tiled.background( + Priority::P2, + RegularBackgroundSize::Background32x64, + TileFormat::FourBpp, + ), Box::new(|pos: Vector2D| { let level = &map_tiles::LEVELS[map_current_level as usize]; ( @@ -872,7 +876,11 @@ pub fn main(mut agb: agb::Gba) -> ! { }), ); let mut foreground = InfiniteScrolledMap::new( - tiled.background(Priority::P0, RegularBackgroundSize::Background64x32), + tiled.background( + Priority::P0, + RegularBackgroundSize::Background64x32, + TileFormat::FourBpp, + ), Box::new(|pos: Vector2D| { let level = &map_tiles::LEVELS[map_current_level as usize]; (