diff --git a/examples/the-dungeon-puzzlers-lament/build.rs b/examples/the-dungeon-puzzlers-lament/build.rs index 60d40a2a..7e4a297a 100644 --- a/examples/the-dungeon-puzzlers-lament/build.rs +++ b/examples/the-dungeon-puzzlers-lament/build.rs @@ -18,7 +18,7 @@ const LEVEL_NAMES: &[&str] = &[ "level_switch", "level_spikes", "level_spikes2", - "squid_force_button", + "level_squid_force_button", "level_squid_intro", "level_squid2", "level_squid1", @@ -36,7 +36,7 @@ fn main() { let mut tile_loader = tiled::Loader::new(); let ui_map = load_tmx(&mut tile_loader, "maps/UI.tmx"); - let ui_tiles = export_tiles(&ui_map, quote!(ui)); + let ui_tiles = export_ui_tiles(&ui_map, quote!(ui)); let levels = LEVEL_NAMES .iter() @@ -278,7 +278,7 @@ fn export_level(map: &tiled::Map) -> Level { let tile_y = id / 11; let is_wall = tiles - .get_tile(tile_x * 2, tile_y * 2) + .get_tile(tile_x, tile_y) .map(|tile| { let tileset = tile.get_tileset(); let tile_data = &tileset.get_tile(tile.id()).unwrap(); @@ -305,6 +305,48 @@ fn export_level(map: &tiled::Map) -> Level { fn export_tiles(map: &tiled::Map, background: TokenStream) -> TokenStream { let map_tiles = map.get_layer(0).unwrap().as_tile_layer().unwrap(); + let width = map_tiles.width().unwrap() * 2; + let height = map_tiles.height().unwrap() * 2; + + let map_tiles = (0..(height * width)).map(|pos| { + let x = pos % width; + let y = pos / width; + + let tile = map_tiles.get_tile(x as i32 / 2, y as i32 / 2); + + match tile { + Some(tile) => { + let vflip = tile.flip_v; + let hflip = tile.flip_h; + + // calculate the actual tile ID based on the properties here + // since the tiles in tiled are 16x16, but we want to export to 8x8, we have to work this out carefully + + let tile_tileset_x = tile.id() % 9; + let tile_tileset_y = tile.id() / 9; + + let x_offset = if (x % 2 == 0) ^ hflip { 0 } else { 1 }; + let y_offset = if (y % 2 == 0) ^ vflip { 0 } else { 1 }; + let gba_tile_id = + tile_tileset_x * 2 + x_offset + tile_tileset_y * 9 * 4 + y_offset * 9 * 2; + let gba_tile_id = gba_tile_id as u16; + + let palette_id = + quote! { backgrounds::#background.palette_assignments[#gba_tile_id as usize] }; + quote! { TileSetting::new(#gba_tile_id, #hflip, #vflip, #palette_id) } + } + None => { + quote! { TileSetting::new(1023, false, false, 0) } + } + } + }); + + quote! {&[#(#map_tiles),*]} +} + +fn export_ui_tiles(map: &tiled::Map, background: TokenStream) -> TokenStream { + let map_tiles = map.get_layer(0).unwrap().as_tile_layer().unwrap(); + let width = map_tiles.width().unwrap(); let height = map_tiles.height().unwrap(); @@ -317,11 +359,11 @@ fn export_tiles(map: &tiled::Map, background: TokenStream) -> TokenStream { match tile { Some(tile) => { let tile_id = tile.id() as u16; - let vflip = tile.flip_h; - let hflip = tile.flip_v; + let vflip = tile.flip_v; + let hflip = tile.flip_h; let palette_id = quote! { backgrounds::#background.palette_assignments[#tile_id as usize] }; - quote! { TileSetting::new(#tile_id, #vflip, #hflip, #palette_id) } + quote! { TileSetting::new(#tile_id, #hflip, #vflip, #palette_id) } } None => { quote! { TileSetting::new(1023, false, false, 0) } diff --git a/examples/the-dungeon-puzzlers-lament/maps/level.tsx b/examples/the-dungeon-puzzlers-lament/maps/level.tsx deleted file mode 100644 index 33df5c03..00000000 --- a/examples/the-dungeon-puzzlers-lament/maps/level.tsx +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/the-dungeon-puzzlers-lament/maps/level16.tsx b/examples/the-dungeon-puzzlers-lament/maps/level16.tsx new file mode 100644 index 00000000..4c905d7c --- /dev/null +++ b/examples/the-dungeon-puzzlers-lament/maps/level16.tsx @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level1.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level1.tmx index a8427a5f..2db372a0 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level1.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level1.tmx @@ -1,43 +1,33 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,0,0, -0,0,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,0,0, -0,0,37,38,39,40,41,42,43,44,45,52,47,48,49,50,51,52,53,54,0,0, -0,0,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,0,0, -0,0,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,0,0, -0,0,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,1,3,4,3,8,6,4,7,9,0, +0,46,11,12,12,14,16,17,14,18,0, +0,19,20,23,20,26,20,21,26,27,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 - - + + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level2.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level2.tmx index 14bf9401..39e6acef 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level2.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level2.tmx @@ -1,40 +1,30 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,1,2,3,16,17,18,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,19,20,21,34,35,36,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,37,38,39,52,53,54,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,55,56,57,70,71,72,0,0,0,0,0,0, -0,0,0,0,0,0,1,2,6,7,1073741951,1073741952,43,44,147,148,0,0,0,0,0,0, -0,0,0,0,0,0,19,20,24,25,1073741933,1073741934,61,62,165,166,0,0,0,0,0,0, -0,0,0,0,0,0,37,38,2147483694,2147483693,41,42,47,48,183,184,0,0,0,0,0,0, -0,0,0,0,0,0,55,56,2147483712,2147483711,59,60,65,66,201,202,0,0,0,0,0,0, -0,0,0,0,0,0,73,74,75,76,109,110,41,42,165,166,0,0,0,0,0,0, -0,0,0,0,0,0,91,92,93,94,127,128,59,60,183,184,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,37,38,45,46,147,148,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,55,56,63,64,165,166,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,73,74,75,76,89,90,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,91,92,93,94,107,108,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,1,3,9,0,0,0,0, +0,0,0,0,10,16,38,0,0,0,0, +0,0,1,8,1073741852,11,18,0,0,0,0, +0,0,46,14,16,16,38,0,0,0,0, +0,0,19,22,28,17,47,0,0,0,0, +0,0,0,0,46,12,38,0,0,0,0, +0,0,0,0,19,26,27,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 - - + + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level3.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level3.tmx index 2dbeb348..28abd513 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level3.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level3.tmx @@ -1,46 +1,36 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,1,2,3,4,5,6,7,8,9,10,15,16,17,18,0,0,0,0, -0,0,0,0,19,20,21,22,23,24,25,26,27,28,33,34,35,36,0,0,0,0, -0,0,0,0,37,38,39,40,41,42,43,44,45,46,51,52,53,54,0,0,0,0, -0,0,0,0,55,56,57,58,59,60,61,62,63,64,69,70,71,72,0,0,0,0, -0,0,0,0,73,74,109,110,1073741885,1073741886,2147483758,2147483757,81,82,87,88,89,90,0,0,0,0, -0,0,0,0,91,92,127,128,1073741867,1073741868,2147483776,2147483775,99,100,105,106,107,108,0,0,0,0, -0,0,0,0,0,0,73,74,75,76,2147483722,2147483721,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,91,92,93,94,2147483740,2147483739,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,1,5,3,5,5,5,9,0,0, +0,0,10,17,12,12,16,11,47,0,0, +0,0,19,28,14,2147483676,20,25,27,0,0, +0,0,0,19,20,27,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level4.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level4.tmx index 46cd80b4..f306fbfc 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level4.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level4.tmx @@ -1,43 +1,33 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,0,0, -0,0,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,0,0, -0,0,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,0,0, -0,0,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,0,0, -0,0,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,0,0, -0,0,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,1,8,3,8,5,2,4,6,9,0, +0,10,13,16,13,12,13,17,14,38,0, +0,19,21,26,24,25,21,24,25,27,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 - - + + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level5.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level5.tmx index 5335cf04..c1fe7171 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level5.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level5.tmx @@ -1,40 +1,30 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,0,0, -0,0,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,0,0, -0,0,37,38,39,40,41,42,43,44,45,52,47,48,49,50,51,52,53,54,0,0, -0,0,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,0,0, -0,0,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,0,0, -0,0,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,1,6,5,2,2,6,4,8,9,0, +0,10,17,17,12,15,13,17,17,38,0, +0,19,20,20,20,25,20,22,21,27,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 - - + + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level6.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level6.tmx index e23991d3..5e1bc8cd 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level6.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level6.tmx @@ -1,49 +1,39 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,1,2,3,4,5,5,6,12,13,14,15,16,17,18,0,0,0,0, -0,0,0,0,19,20,21,22,23,23,24,30,31,32,33,34,35,36,0,0,0,0, -0,0,0,0,37,38,39,40,41,42,43,44,39,40,43,44,1073741989,1073741990,0,0,0,0, -0,0,0,0,55,56,57,58,59,60,61,62,57,58,61,62,1073741971,1073741972,0,0,0,0, -0,0,0,0,73,74,75,76,77,78,109,110,43,44,111,112,113,114,0,0,0,0, -0,0,0,0,91,92,93,94,95,96,127,128,61,62,129,130,131,132,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,145,146,45,46,47,48,147,148,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,163,164,63,64,65,66,165,166,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,181,182,47,48,43,44,183,184,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,199,200,65,66,61,62,201,202,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,1073741987,1073741988,49,50,51,52,1073741989,1073741990,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,1073741969,1073741970,67,68,69,70,1073741971,1073741972,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,73,74,85,86,87,88,89,90,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,91,92,103,104,105,106,107,108,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,1,5,6,4,7,3,9,0,0, +0,0,10,15,13,12,17,11,38,0,0, +0,0,19,23,23,28,16,29,30,0,0, +0,0,0,0,0,37,11,11,47,0,0, +0,0,0,0,0,46,14,12,18,0,0, +0,0,0,0,0,37,17,17,38,0,0, +0,0,0,0,0,19,23,23,27,0,0, +0,0,0,0,0,0,0,0,0,0,0 - - + + - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_around.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_around.tmx index 29df1e74..a2e0cee9 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_around.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_around.tmx @@ -1,40 +1,30 @@ - + - - + + -0,0,0,0,1,2,7,8,3,4,13,7,8,9,10,11,12,13,14,15,3221225564,3221225563, -0,0,0,0,19,20,25,26,21,22,31,25,26,27,28,29,30,31,32,33,3221225546,3221225545, -0,0,0,0,37,38,41,42,45,46,47,48,49,50,51,52,41,42,41,42,147,148, -0,0,0,0,55,56,59,60,63,64,65,66,67,68,69,70,59,60,59,60,165,166, -1,2,1073741917,1073741918,1073741951,1073741952,41,42,41,42,43,44,45,46,47,48,49,50,51,52,183,184, -19,20,1073741899,1073741900,1073741933,1073741934,59,60,59,60,61,62,63,64,65,66,67,68,69,70,201,202, -145,146,41,42,41,42,45,46,41,42,41,42,41,42,45,46,41,42,49,50,147,148, -163,164,59,60,59,60,63,64,59,60,59,60,59,60,63,64,57,58,59,60,165,166, -181,182,39,40,41,42,43,44,45,46,47,48,49,50,45,46,2147483758,2147483757,77,78,2147483722,2147483721, -199,200,57,58,59,60,61,62,63,64,65,66,67,68,63,64,2147483776,2147483775,95,96,2147483740,2147483739, -73,74,109,110,49,50,39,40,41,42,43,44,45,46,47,48,147,148,0,0,0,0, -91,92,127,128,67,68,57,58,59,60,61,62,63,64,65,66,165,166,0,0,0,0, -0,0,37,38,41,42,39,40,41,42,43,44,45,46,47,48,183,184,0,0,0,0, -0,0,55,56,59,60,57,58,59,60,61,62,63,64,65,66,201,202,0,0,0,0, -0,0,73,74,109,110,43,44,45,46,47,48,49,50,51,52,147,148,0,0,0,0, -0,0,91,92,127,128,61,62,63,64,65,66,67,68,69,70,165,166,0,0,0,0, -0,0,0,0,181,182,41,42,43,44,45,46,47,48,2147483758,2147483757,2147483722,2147483721,0,0,0,0, -0,0,0,0,199,200,59,60,61,62,63,64,65,66,2147483776,2147483775,2147483740,2147483739,0,0,0,0, -0,0,0,0,73,74,83,84,77,78,79,80,81,82,2147483722,2147483721,0,0,0,0,0,0, -0,0,0,0,91,92,101,102,95,96,97,98,99,100,2147483740,2147483739,0,0,0,0,0,0 +0,0,1,7,4,7,5,2,2,2,9, +0,0,46,11,11,17,13,12,14,16,18, +1,6,1073741852,13,16,11,12,12,13,12,18, +46,16,13,13,15,14,13,16,15,13,47, +37,17,12,14,12,13,17,11,2147483676,26,27, +19,28,11,13,14,11,16,16,18,0,0, +0,37,16,12,13,17,17,15,18,0,0, +0,19,28,16,15,17,15,11,47,0,0, +0,0,46,12,15,12,16,2147483676,27,0,0, +0,0,19,21,25,23,22,27,0,0,0 - - + + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes.tmx index 60c47114..d50168d9 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes.tmx @@ -1,49 +1,39 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,0,0, -0,0,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,0,0, -0,0,37,38,39,40,47,48,39,48,43,44,47,48,51,52,51,52,1073741895,1073741896,0,0, -0,0,55,56,57,58,65,66,69,70,61,62,65,66,61,70,69,70,1073741877,1073741878,0,0, -0,0,145,146,51,52,47,48,1073741881,1073741882,51,48,47,48,47,48,43,44,147,148,0,0, -0,0,163,164,69,70,65,66,1073741863,1073741864,61,70,65,66,65,66,61,62,165,166,0,0, -0,0,181,182,39,52,47,48,43,44,51,52,39,50,51,52,51,50,183,184,0,0, -0,0,199,200,69,70,65,66,61,62,69,70,61,62,69,70,69,70,201,202,0,0, -0,0,1073741987,1073741988,51,52,43,48,51,52,39,50,51,52,51,52,39,50,53,54,0,0, -0,0,1073741969,1073741970,69,70,61,62,69,70,69,70,69,70,69,70,69,70,71,72,0,0, -0,0,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,0,0, -0,0,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,1,7,2,7,6,7,3,2,9,0, +0,10,11,17,12,12,13,16,13,47,0, +0,37,15,15,17,11,11,17,12,18,0, +0,46,11,16,17,12,13,16,16,47,0, +0,37,13,11,14,12,14,11,17,38,0, +0,19,23,25,22,21,26,21,20,27,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 - + - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes2.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes2.tmx index 0cc3e6e6..f1e28c2f 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes2.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes2.tmx @@ -1,52 +1,42 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,17,18,0,0, -0,0,0,0,19,20,21,22,23,24,27,28,29,30,31,32,33,34,35,36,0,0, -0,0,0,0,37,38,39,40,51,52,51,52,41,42,45,46,39,40,53,54,0,0, -0,0,0,0,55,56,57,58,69,70,69,70,59,60,63,64,57,58,71,72,0,0, -0,0,0,0,2147483762,2147483761,2147483760,2147483759,51,52,39,40,39,40,51,52,45,46,147,148,0,0, -0,0,0,0,2147483780,2147483779,2147483778,2147483777,69,70,57,58,57,58,69,70,63,64,165,166,0,0, -0,0,0,0,145,146,39,40,39,40,45,46,51,52,45,46,45,46,183,184,0,0, -0,0,0,0,163,164,57,58,57,58,63,64,69,70,63,64,63,64,201,202,0,0, -0,0,0,0,181,182,45,46,41,42,51,52,45,46,51,52,39,40,53,54,0,0, -0,0,0,0,199,200,63,64,59,60,69,70,63,64,69,70,57,58,71,72,0,0, -0,0,0,0,73,74,75,76,77,78,79,80,81,82,83,86,87,88,89,90,0,0, -0,0,0,0,91,92,93,94,95,96,97,98,99,100,101,104,105,106,107,108,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,1,2,5,6,3,6,7,9,0, +0,0,46,11,17,15,14,17,11,18,0, +0,0,2147483678,2147483677,16,14,15,11,11,38,0, +0,0,46,12,11,16,15,15,11,18,0, +0,0,37,14,15,12,12,14,15,38,0, +0,0,19,23,24,25,24,25,20,27,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 - + - + - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes3.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes3.tmx index 038604d5..e8e67c6e 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes3.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_spikes3.tmx @@ -1,55 +1,45 @@ - + - - + + -0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,14,3221225564,3221225563,0,0,0,0, -0,0,0,0,19,20,21,22,23,24,25,26,27,28,29,32,3221225546,3221225545,0,0,0,0, -0,0,1,2,1073741951,1073741952,43,44,39,40,49,50,41,42,39,40,3221225600,3221225599,6,7,17,18, -0,0,19,20,1073741933,1073741934,61,62,57,58,67,68,59,60,57,58,3221225582,3221225581,24,25,35,36, -0,0,145,146,43,44,49,50,39,40,41,42,39,40,41,42,43,44,39,40,53,54, -0,0,163,164,61,62,67,68,57,58,59,60,57,58,59,60,61,62,57,58,71,72, -0,0,181,182,39,40,43,44,39,40,43,44,41,42,39,40,41,42,39,40,147,148, -0,0,199,200,57,58,61,62,57,58,61,62,59,60,57,58,59,60,57,58,165,166, -0,0,37,38,43,44,41,42,41,42,49,50,39,40,49,50,39,40,39,40,183,184, -0,0,55,56,61,62,59,60,59,60,67,68,57,58,67,68,57,58,57,58,201,202, -0,0,1073741987,1073741988,43,44,39,40,41,42,41,42,39,40,41,42,41,42,49,50,147,148, -0,0,1073741969,1073741970,61,62,57,58,59,60,59,60,57,58,59,60,59,60,67,68,165,166, -0,0,145,146,39,40,39,40,39,40,39,40,39,40,39,40,41,42,39,40,183,184, -0,0,163,164,57,58,57,58,57,58,57,58,57,58,57,58,59,60,57,58,201,202, -0,0,37,38,43,44,41,42,39,40,41,42,41,42,43,44,39,40,39,40,147,148, -0,0,55,56,61,62,59,60,57,58,59,60,59,60,61,62,57,58,57,58,165,166, -0,0,3221225508,3221225507,75,76,77,78,79,80,109,110,39,40,39,40,39,40,2147483758,2147483757,89,90, -0,0,3221225490,3221225489,93,94,95,96,97,98,127,128,57,58,57,58,57,58,2147483776,2147483775,107,108, -0,0,0,0,0,0,0,0,0,0,73,74,83,84,85,86,87,88,3221225492,3221225491,0,0, -0,0,0,0,0,0,0,0,0,0,91,92,101,102,103,104,105,106,3221225474,3221225473,0,0 +0,0,1,8,4,1073741872,2,7,9,0,0, +0,0,37,15,15,1073741863,15,13,3221225500,3,9, +0,0,19,28,12,12,14,17,12,13,47, +0,1,2,1073741852,17,17,15,16,14,14,38, +0,37,14,15,17,13,14,14,14,11,18, +0,19,28,13,16,15,12,11,13,17,38, +0,0,19,25,28,16,16,15,16,15,47, +0,0,0,0,10,13,16,17,12,17,38, +0,0,0,0,19,28,15,17,13,2147483676,27, +0,0,0,0,0,19,21,22,23,27,0 - + - + - + - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid1.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid1.tmx index 0325157c..79dcfd30 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid1.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid1.tmx @@ -1,46 +1,36 @@ - + - - + + -0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,17,18,0,0,0,0, -0,0,0,0,0,0,0,0,19,20,21,22,23,24,25,26,35,36,0,0,0,0, -0,0,0,0,0,0,0,0,145,146,45,46,47,48,49,50,147,148,0,0,0,0, -0,0,0,0,0,0,0,0,163,164,63,64,65,66,67,68,165,166,0,0,0,0, -0,0,0,0,0,0,0,0,181,182,45,46,47,48,45,46,53,54,0,0,0,0, -0,0,0,0,0,0,0,0,199,200,63,64,65,66,63,64,71,72,0,0,0,0, -0,0,0,0,0,0,0,0,73,74,109,110,43,44,2147483758,2147483757,89,90,0,0,0,0, -0,0,0,0,0,0,0,0,91,92,127,128,61,62,2147483776,2147483775,107,108,0,0,0,0, -0,0,1,2,3,4,5,6,7,8,1073741951,1073741952,45,46,3221225600,3221225599,14,15,17,18,0,0, -0,0,19,20,21,22,23,24,25,26,1073741933,1073741934,63,64,3221225582,3221225581,32,33,35,36,0,0, -0,0,37,38,39,40,39,40,41,42,43,44,45,46,47,48,49,50,53,54,0,0, -0,0,55,56,57,58,57,58,59,60,61,62,63,64,65,66,67,68,71,72,0,0, -0,0,73,74,2147483729,75,76,77,78,79,109,110,47,48,2147483758,2147483757,86,87,89,90,0,0, -0,0,91,92,2147483747,93,94,95,96,97,127,128,65,66,2147483776,2147483775,104,105,107,108,0,0, -0,0,0,0,0,0,0,0,0,0,145,146,43,44,147,148,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,163,164,61,62,165,166,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,181,182,45,46,183,184,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,199,200,63,64,201,202,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,73,74,75,76,3221225492,3221225491,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,91,92,93,94,3221225474,3221225473,0,0,0,0,0,0 +0,0,0,0,1,8,2,6,9,0,0, +0,0,0,0,46,11,11,11,38,0,0, +0,0,0,0,10,11,12,14,38,0,0, +0,0,0,0,19,28,17,2147483676,27,0,0, +0,1,4,8,8,1073741852,13,3221225500,2,9,0, +0,46,17,17,17,12,13,11,12,47,0, +0,19,26,26,21,28,12,2147483676,24,27,0, +0,0,0,0,0,46,15,47,0,0,0, +0,0,0,0,0,10,14,47,0,0,0, +0,0,0,0,0,19,23,27,0,0,0 - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid2.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid2.tmx index 0709dced..a740e0fc 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid2.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid2.tmx @@ -1,49 +1,39 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,1,2,6,7,17,18,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,19,20,24,25,35,36,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,37,38,39,40,147,148,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,55,56,57,58,165,166,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,145,146,41,42,183,184,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,163,164,59,60,201,202,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,181,182,43,44,3221225600,3221225599,13,14,15,16,17,18,0,0,0,0, -0,0,0,0,0,0,199,200,61,62,3221225582,3221225581,31,32,33,34,35,36,0,0,0,0, -0,0,0,0,0,0,1073742023,1073742024,39,40,41,42,43,44,43,44,53,54,0,0,0,0, -0,0,0,0,0,0,1073742005,1073742006,57,58,59,60,61,62,61,62,71,72,0,0,0,0, -0,0,0,0,0,0,1073741987,1073741988,47,48,2147483758,2147483757,75,76,80,81,89,90,0,0,0,0, -0,0,0,0,0,0,1073741969,1073741970,65,66,2147483776,2147483775,93,94,98,99,107,108,0,0,0,0, -0,0,0,0,0,0,37,38,49,50,147,148,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,55,56,67,68,165,166,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,73,74,75,76,89,90,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,91,92,93,94,107,108,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,1,5,9,0,0,0,0,0, +0,0,0,37,14,18,0,0,0,0,0, +0,0,0,46,13,18,0,0,0,0,0, +0,0,0,10,12,3221225500,6,6,9,0,0, +0,0,0,37,15,13,14,14,47,0,0, +0,0,0,46,12,2147483676,21,21,27,0,0, +0,0,0,37,16,47,0,0,0,0,0, +0,0,0,19,25,27,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 - + - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_button.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_button.tmx index 639c34ec..a6d7a077 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_button.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_button.tmx @@ -1,52 +1,42 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,1,2,5,6,1073741931,1073741932,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,19,20,23,24,1073741913,1073741914,0,0,0,0,0,0, -0,0,3221225580,3221225579,5,6,7,8,9,5,1073741951,1073741952,43,44,3221225600,3221225599,5,6,2147483650,2147483649,0,0, -0,0,3221225562,3221225561,23,24,25,26,27,23,1073741933,1073741934,61,62,3221225582,3221225581,23,24,2147483668,2147483667,0,0, -0,0,37,38,47,48,39,40,41,42,47,48,39,40,45,46,41,42,53,54,0,0, -0,0,55,56,65,66,57,58,59,60,65,66,57,58,63,64,59,60,71,72,0,0, -0,0,1073741987,1073741988,39,40,47,48,47,48,41,42,39,40,47,48,45,46,147,148,0,0, -0,0,1073741969,1073741970,57,58,65,66,65,66,59,60,57,58,65,66,63,64,165,166,0,0, -0,0,37,38,39,40,39,40,41,42,39,40,39,40,47,48,41,42,183,184,0,0, -0,0,55,56,57,58,57,58,59,60,57,58,57,58,65,66,59,60,201,202,0,0, -0,0,145,146,47,48,47,48,47,48,47,48,41,42,45,46,111,112,113,114,0,0, -0,0,163,164,65,66,65,66,65,66,65,66,59,60,63,64,129,130,131,132,0,0, -0,0,37,38,47,48,43,44,47,48,41,42,149,150,39,40,39,40,53,54,0,0, -0,0,55,56,65,66,61,62,65,66,59,60,167,168,57,58,57,58,71,72,0,0, -0,0,73,74,75,76,77,78,79,80,81,82,185,186,85,86,87,88,89,90,0,0, -0,0,91,92,93,94,95,96,97,98,99,100,203,204,103,104,105,106,107,108,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,1,2,9,0,0,0, +0,1,7,4,5,1073741852,16,3221225500,6,9,0, +0,37,15,14,11,11,11,12,17,18,0, +0,46,14,17,16,11,15,11,13,18,0, +0,46,13,12,11,14,16,11,16,18,0, +0,10,14,16,13,13,13,14,29,30,0, +0,37,15,11,14,14,39,16,13,38,0, +0,19,24,26,22,22,48,20,25,27,0, +0,0,0,0,0,0,0,0,0,0,0 - + - + - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_drop.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_drop.tmx index c2ec4256..1dc5cabd 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_drop.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_drop.tmx @@ -1,46 +1,36 @@ - + - - + + -0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,2147483650,2147483649,0,0, -0,0,0,0,0,0,19,20,21,22,23,24,25,26,27,28,29,30,2147483668,2147483667,0,0, -0,0,0,0,0,0,2147483814,2147483813,45,46,49,50,45,46,51,52,45,46,2147483794,2147483793,0,0, -0,0,0,0,0,0,2147483832,2147483831,63,64,67,68,63,64,69,70,63,64,2147483812,2147483811,0,0, -0,0,0,0,0,0,37,38,51,52,45,46,49,50,43,44,47,48,3221225600,3221225599,3221225564,3221225563, -0,0,0,0,0,0,55,56,69,70,63,64,67,68,61,62,65,66,3221225582,3221225581,3221225546,3221225545, -1073741915,1073741916,5,6,1073742029,1073742030,153,154,45,46,45,46,43,44,47,48,51,52,39,40,147,148, -1073741897,1073741898,23,24,1073742011,1073742012,171,172,63,64,63,64,61,62,65,66,69,70,57,58,165,166, -3221225638,3221225637,39,40,1073741993,1073741994,153,154,43,44,43,44,43,44,51,52,47,48,47,48,183,184, -3221225620,3221225619,57,58,1073741975,1073741976,171,172,61,62,61,62,61,62,69,70,65,66,65,66,201,202, -3221225638,3221225637,39,40,39,40,1073741991,1073741992,45,46,51,52,41,42,47,48,47,48,51,52,147,148, -3221225620,3221225619,57,58,57,58,1073741973,1073741974,63,64,69,70,59,60,65,66,65,66,69,70,165,166, -145,146,45,46,39,40,39,40,39,40,45,46,51,52,41,42,51,52,49,50,147,148, -163,164,63,64,57,58,57,58,57,58,63,64,69,70,59,60,69,70,67,68,165,166, -145,146,47,48,2147483758,2147483757,79,80,81,82,109,110,45,46,47,48,49,50,47,48,183,184, -163,164,65,66,2147483776,2147483775,97,98,99,100,127,128,63,64,65,66,67,68,65,66,201,202, -1073741843,1073741844,79,80,2147483722,2147483721,0,0,0,0,73,74,1073741847,1073741848,1073741849,1073741850,1073741851,1073741852,1073741853,1073741854,2147483722,2147483721, -1073741825,1073741826,97,98,2147483740,2147483739,0,0,0,0,91,92,1073741829,1073741830,1073741831,1073741832,1073741833,1073741834,1073741835,1073741836,2147483740,2147483739, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,1,4,8,3,2,3,9,0, +0,0,0,46,11,12,14,16,14,38,0, +0,0,0,46,15,17,13,13,15,3221225500,9, +1,6,1073741873,1073741874,13,15,17,17,11,13,38, +46,13,1073741864,1073741865,17,14,16,15,13,13,47, +10,11,13,1073741863,11,16,15,14,17,11,18, +46,17,13,14,11,17,14,11,12,16,47, +37,15,2147483676,20,23,28,12,12,16,15,18, +19,21,27,0,0,19,25,20,26,22,27, +0,0,0,0,0,0,0,0,0,0,0 - - + + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_force_button.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_force_button.tmx new file mode 100644 index 00000000..918dd3c5 --- /dev/null +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_force_button.tmx @@ -0,0 +1,40 @@ + + + + + + + + + + +0,0,0,0,0,0,0,0,0,0,0, +0,1,7,9,0,0,0,0,0,0,0, +0,10,14,47,0,0,1,5,2,9,0, +0,46,11,18,0,1,1073741852,16,16,38,0, +0,10,17,47,0,10,13,11,15,47,0, +0,10,16,47,0,10,13,12,11,18,0, +0,10,13,18,0,19,28,13,2147483676,27,0, +0,10,11,38,0,0,19,23,27,0,0, +0,19,21,27,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 + + + + + + + + + + + + + + + + + + + + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_intro.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_intro.tmx index f7ccd663..f16222ce 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_intro.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_intro.tmx @@ -1,52 +1,42 @@ - + - - + + -0,0,0,0,0,0,1,2,15,16,17,18,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,19,20,33,34,35,36,0,0,0,0,0,0,0,0,0,0, -1,2,6,7,8,9,117,118,43,44,3221225600,3221225599,17,18,0,0,0,0,0,0,0,0, -19,20,24,25,26,27,135,136,61,62,3221225582,3221225581,35,36,0,0,0,0,0,0,0,0, -145,146,39,40,45,46,1073741991,1073741992,45,46,51,52,53,54,0,0,0,0,0,0,0,0, -163,164,57,58,63,64,1073741973,1073741974,63,64,69,70,71,72,0,0,0,0,0,0,0,0, -181,182,45,46,45,46,47,48,49,50,39,40,3221225600,3221225599,11,12,13,14,15,16,17,18, -199,200,63,64,63,64,65,66,67,68,57,58,3221225582,3221225581,29,30,31,32,33,34,35,36, -145,146,45,46,47,48,45,46,45,46,39,40,43,44,47,48,39,40,45,46,147,148, -163,164,63,64,65,66,63,64,63,64,57,58,61,62,65,66,57,58,63,64,165,166, -181,182,47,48,39,40,149,150,47,48,47,48,149,150,39,40,45,46,47,48,183,184, -199,200,65,66,57,58,167,168,65,66,65,66,167,168,57,58,63,64,65,66,201,202, -37,38,45,46,151,152,153,154,39,40,111,112,119,120,47,48,51,52,47,48,165,166, -55,56,63,64,169,170,171,172,57,58,129,130,137,138,65,66,69,70,65,66,183,184, -73,74,75,76,187,188,189,190,47,48,39,40,47,48,51,52,51,52,39,40,147,148, -91,92,93,94,205,206,207,208,65,66,57,58,65,66,69,70,69,70,57,58,165,166, -0,0,0,0,0,0,145,146,47,48,39,40,149,150,51,52,2147483758,2147483757,77,78,2147483722,2147483721, -0,0,0,0,0,0,163,164,65,66,57,58,167,168,69,70,2147483776,2147483775,95,96,2147483740,2147483739, -0,0,0,0,0,0,73,74,75,76,77,78,185,186,79,80,2147483722,2147483721,0,0,0,0, -0,0,0,0,0,0,91,92,93,94,95,96,203,204,97,98,2147483740,2147483739,0,0,0,0 +0,0,0,1,8,9,0,0,0,0,0, +1,7,2,32,16,3221225500,9,0,0,0,0, +10,12,16,1073741863,12,13,47,0,0,0,0, +10,13,17,15,15,12,3221225500,4,5,2,9, +46,11,11,14,16,12,15,14,15,13,18, +37,13,14,39,12,14,39,14,17,13,38, +46,11,40,41,16,29,33,11,13,13,18, +19,22,49,50,16,12,15,13,12,12,38, +0,0,0,46,12,13,39,15,2147483676,21,27, +0,0,0,19,23,25,48,22,27,0,0 - - + + - + - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_item.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_item.tmx index 3f0d2d21..8c250cdb 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_item.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squid_item.tmx @@ -1,52 +1,42 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,2147483650,2147483649,0,0,0,0, -0,0,0,0,0,0,0,0,19,20,21,22,23,24,25,26,2147483668,2147483667,0,0,0,0, -0,0,0,0,0,0,0,0,145,146,43,44,47,48,49,50,3221225600,3221225599,17,18,0,0, -0,0,0,0,0,0,0,0,163,164,61,62,65,66,67,68,3221225582,3221225581,35,36,0,0, -0,0,0,0,0,0,0,0,37,38,51,52,39,40,49,50,45,46,53,54,0,0, -0,0,0,0,0,0,0,0,55,56,69,70,57,58,67,68,63,64,71,72,0,0, -0,0,1,2,8,9,10,11,1073741951,1073741952,51,52,43,44,45,46,49,50,147,148,0,0, -0,0,19,20,26,27,28,29,1073741933,1073741934,69,70,61,62,63,64,67,68,165,166,0,0, -0,0,37,38,43,44,39,40,45,46,47,48,47,48,47,48,43,44,183,184,0,0, -0,0,55,56,61,62,57,58,63,64,65,66,65,66,65,66,61,62,201,202,0,0, -0,0,73,74,109,110,49,50,47,48,149,150,43,44,47,48,2147483758,2147483757,89,90,0,0, -0,0,91,92,127,128,67,68,65,66,167,168,61,62,65,66,2147483776,2147483775,107,108,0,0, -0,0,0,0,73,74,84,85,86,87,185,186,83,79,79,80,2147483722,2147483721,0,0,0,0, -0,0,0,0,91,92,102,103,104,105,203,204,101,97,97,98,2147483740,2147483739,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,1,3,7,6,9,0,0, +0,0,0,0,10,13,12,13,3221225500,9,0, +0,0,0,0,37,16,12,11,11,38,0, +0,1,2,5,1073741852,12,17,15,14,47,0, +0,46,15,12,12,16,13,14,13,18,0, +0,19,28,12,11,39,14,14,2147483676,27,0, +0,0,19,20,25,48,25,21,27,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 - - + + - + - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squidprogramming.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squidprogramming.tmx index 31df08a2..b7c12c53 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_squidprogramming.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_squidprogramming.tmx @@ -1,61 +1,51 @@ - + - - + + -0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,0,0, -0,0,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,0,0, -0,0,37,38,41,42,43,44,45,46,47,48,49,50,51,52,49,50,53,54,0,0, -0,0,55,56,59,60,61,62,63,64,65,66,67,68,69,70,67,68,71,72,0,0, -0,0,37,38,49,50,39,40,41,42,43,44,45,46,47,48,49,50,53,54,0,0, -0,0,55,56,67,68,57,58,59,60,61,62,63,64,65,66,67,68,71,72,0,0, -0,0,145,146,41,42,43,44,45,46,47,48,49,50,51,52,49,50,147,148,0,0, -0,0,163,164,59,60,61,62,63,64,65,66,67,68,69,70,67,68,165,166,0,0, -0,0,37,38,49,50,39,40,41,42,43,44,45,46,47,48,49,50,183,184,0,0, -0,0,55,56,67,68,57,58,59,60,61,62,63,64,65,66,67,68,201,202,0,0, -0,0,37,38,41,42,43,44,45,46,47,48,49,50,51,52,49,50,53,54,0,0, -0,0,55,56,59,60,61,62,63,64,65,66,67,68,69,70,67,68,71,72,0,0, -0,0,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,0,0, -0,0,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,0,0, -1,2,3,4,3,4,5,6,7,8,9,10,11,12,13,14,15,16,15,16,17,18, -19,20,21,22,21,22,23,24,25,26,27,28,29,30,31,32,33,34,33,34,35,36, -37,38,39,40,39,40,41,42,43,44,45,46,47,48,49,50,51,52,51,52,53,54, -55,56,57,58,57,58,59,60,61,62,63,64,65,66,67,68,69,70,69,70,71,72, -73,74,75,76,75,76,77,78,79,80,81,82,83,84,85,86,87,88,87,88,89,90, -91,92,93,94,93,94,95,96,97,98,99,100,101,102,103,104,105,106,105,106,107,108 +0,1,4,3221225492,7,2147483655,3,1073741844,1073741850,2147483649,0, +0,37,2147483659,11,2147483659,2147483665,3221225486,3221225484,1073741839,3221225518,0, +0,10,17,1073741836,11,1073741838,15,3221225485,3221225485,3221225509,0, +0,37,14,14,15,12,12,3221225483,3221225486,2147483694,0, +0,37,17,11,17,16,11,1073741836,1073741837,3221225509,0, +0,46,15,17,13,12,16,2147483665,2147483662,1073741862,0, +0,19,23,24,21,21,22,26,25,1073741833,0, +1,1073741844,2147483651,1073741847,1073741846,1073741848,1073741847,7,3221225494,4,9, +10,2147483664,1073741840,1073741837,1073741837,3221225486,1073741840,1073741836,12,16,18, +19,2147483672,2147483673,1073741831,1073741832,1073741829,21,1073741826,22,22,27 - + - + - + - + - + - + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/level_switch.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/level_switch.tmx index 067a1acb..333cba05 100644 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/level_switch.tmx +++ b/examples/the-dungeon-puzzlers-lament/maps/levels/level_switch.tmx @@ -1,46 +1,36 @@ - + - - + + -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,1,2,3,4,5,5,6,12,13,14,15,16,17,18,0,0,0,0, -0,0,0,0,19,20,21,22,23,23,24,30,31,32,33,34,35,36,0,0,0,0, -0,0,0,0,37,38,39,40,41,42,43,44,39,40,43,44,1073741989,1073741990,0,0,0,0, -0,0,0,0,55,56,57,58,59,60,61,62,57,58,61,62,1073741971,1073741972,0,0,0,0, -0,0,0,0,73,74,75,76,77,78,109,110,43,44,111,112,113,114,0,0,0,0, -0,0,0,0,91,92,93,94,95,96,127,128,61,62,129,130,131,132,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,37,38,49,50,51,52,183,184,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,55,56,67,68,69,70,201,202,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,73,74,75,76,81,82,89,90,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,91,92,93,94,99,100,107,108,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,1,6,2,5,8,6,9,0,0, +0,0,37,12,13,16,11,13,38,0,0, +0,0,19,24,23,28,13,29,30,0,0, +0,0,0,0,0,10,16,14,18,0,0, +0,0,0,0,0,19,22,21,27,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0 - - + + - + - + - + diff --git a/examples/the-dungeon-puzzlers-lament/maps/levels/squid_force_button.tmx b/examples/the-dungeon-puzzlers-lament/maps/levels/squid_force_button.tmx deleted file mode 100644 index dde34979..00000000 --- a/examples/the-dungeon-puzzlers-lament/maps/levels/squid_force_button.tmx +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,1,2,3,4,2147483650,2147483649,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,19,20,21,22,2147483668,2147483667,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,145,146,51,52,147,148,0,0,0,0,1,2,7,8,9,10,2147483650,2147483649,0,0, -0,0,163,164,69,70,165,166,0,0,0,0,19,20,25,26,27,28,2147483668,2147483667,0,0, -0,0,181,182,49,50,183,184,0,0,1,2,1073741951,1073741952,39,40,41,42,147,148,0,0, -0,0,199,200,67,68,201,202,0,0,19,20,1073741933,1073741934,57,58,59,60,165,166,0,0, -0,0,37,38,49,50,2147483794,2147483793,0,0,145,146,39,40,41,42,41,42,183,184,0,0, -0,0,55,56,67,68,2147483812,2147483811,0,0,163,164,57,58,59,60,59,60,201,202,0,0, -0,0,145,146,49,50,2147483830,2147483829,0,0,181,182,49,50,47,48,49,50,183,184,0,0, -0,0,163,164,67,68,2147483848,2147483847,0,0,199,200,67,68,65,66,67,68,201,202,0,0, -0,0,181,182,43,44,147,148,0,0,1073741843,1073741844,109,110,39,40,2147483758,2147483757,2147483722,2147483721,0,0, -0,0,199,200,61,62,165,166,0,0,1073741825,1073741826,127,128,57,58,2147483776,2147483775,2147483740,2147483739,0,0, -0,0,37,38,45,46,183,184,0,0,0,0,1073741843,1073741844,1073741847,1073741848,2147483722,2147483721,0,0,0,0, -0,0,55,56,63,64,201,202,0,0,0,0,1073741825,1073741826,1073741829,1073741830,2147483740,2147483739,0,0,0,0, -0,0,73,74,77,78,3221225492,3221225491,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,91,92,95,96,3221225474,3221225473,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 - - - - - - - - - - - - - - - - - - - -