mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
16x16 levels!!
This commit is contained in:
parent
999a73439c
commit
ea3ba89f92
|
@ -9,21 +9,25 @@ use std::{
|
||||||
use proc_macro2::TokenStream;
|
use proc_macro2::TokenStream;
|
||||||
|
|
||||||
const LEVEL_NAMES: &[&str] = &[
|
const LEVEL_NAMES: &[&str] = &[
|
||||||
"level1", "level2", "level3", "level4", "level5",
|
"level1",
|
||||||
|
"level2",
|
||||||
|
"level3",
|
||||||
|
"level4",
|
||||||
|
"level5",
|
||||||
"level6",
|
"level6",
|
||||||
// "level_switch",
|
"level_switch",
|
||||||
// "level_spikes",
|
"level_spikes",
|
||||||
// "level_spikes2",
|
"level_spikes2",
|
||||||
// "squid_force_button",
|
"level_squid_force_button",
|
||||||
// "level_squid_intro",
|
"level_squid_intro",
|
||||||
// "level_squid2",
|
"level_squid2",
|
||||||
// "level_squid1",
|
"level_squid1",
|
||||||
// "level_squid_item",
|
"level_squid_item",
|
||||||
// "level_squid_button",
|
"level_squid_button",
|
||||||
// "level_squid_drop",
|
"level_squid_drop",
|
||||||
// "level_spikes3",
|
"level_spikes3",
|
||||||
// "level_around",
|
"level_around",
|
||||||
// "level_squidprogramming",
|
"level_squidprogramming",
|
||||||
];
|
];
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
@ -312,24 +316,24 @@ fn export_tiles(map: &tiled::Map, background: TokenStream) -> TokenStream {
|
||||||
|
|
||||||
match tile {
|
match tile {
|
||||||
Some(tile) => {
|
Some(tile) => {
|
||||||
let vflip = tile.flip_h;
|
let vflip = tile.flip_v;
|
||||||
let hflip = 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_x = tile.id() % 9;
|
||||||
let tile_tileset_y = tile.id() / 9;
|
let tile_tileset_y = tile.id() / 9;
|
||||||
|
|
||||||
let x_offset = if x % 2 == 0 && !hflip { 0 } else { 1 };
|
let x_offset = if (x % 2 == 0) ^ hflip { 0 } else { 1 };
|
||||||
let y_offset = if y % 2 == 0 && !vflip { 0 } else { 1 };
|
let y_offset = if (y % 2 == 0) ^ vflip { 0 } else { 1 };
|
||||||
|
|
||||||
// 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 gba_tile_id =
|
let gba_tile_id =
|
||||||
tile_tileset_x * 2 + x_offset + tile_tileset_y * 9 * 4 + y_offset * 9 * 2;
|
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 gba_tile_id = gba_tile_id as u16;
|
||||||
|
|
||||||
let palette_id =
|
let palette_id =
|
||||||
quote! { backgrounds::#background.palette_assignments[#gba_tile_id as usize] };
|
quote! { backgrounds::#background.palette_assignments[#gba_tile_id as usize] };
|
||||||
quote! { TileSetting::new(#gba_tile_id, #vflip, #hflip, #palette_id) }
|
quote! { TileSetting::new(#gba_tile_id, #hflip, #vflip, #palette_id) }
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
quote! { TileSetting::new(1023, false, false, 0) }
|
quote! { TileSetting::new(1023, false, false, 0) }
|
||||||
|
@ -355,11 +359,11 @@ fn export_ui_tiles(map: &tiled::Map, background: TokenStream) -> TokenStream {
|
||||||
match tile {
|
match tile {
|
||||||
Some(tile) => {
|
Some(tile) => {
|
||||||
let tile_id = tile.id() as u16;
|
let tile_id = tile.id() as u16;
|
||||||
let vflip = tile.flip_h;
|
let vflip = tile.flip_v;
|
||||||
let hflip = tile.flip_v;
|
let hflip = tile.flip_h;
|
||||||
let palette_id =
|
let palette_id =
|
||||||
quote! { backgrounds::#background.palette_assignments[#tile_id as usize] };
|
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 => {
|
None => {
|
||||||
quote! { TileSetting::new(1023, false, false, 0) }
|
quote! { TileSetting::new(1023, false, false, 0) }
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="3">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="RULDRULDRULD"/>
|
||||||
|
<property name="ITEMS" value="DOOR,SWORD,SLIME,SQUID_UP"/>
|
||||||
|
<property name="NAME" value="Now they're just going in circles"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="HERO" x="72.9779" y="76.2911">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="STAIRS" x="120.978" y="44.2911">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,40 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="6">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="RRRRRRDDRR"/>
|
||||||
|
<property name="ITEMS" value="DOOR_SWITCHED_OPEN,SWITCH"/>
|
||||||
|
<property name="NAME" value="Be careful of the spikes"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="HERO" x="38.5701" y="73.6808">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="SPIKES_DOWN" x="120.551" y="92.6159">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="SWITCH" x="86.7686" y="91.5401">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="STAIRS" x="120.981" y="110.26">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="5" name="SPIKES" x="103.768" y="108.323">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="7">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="ULULULULULULULUL"/>
|
||||||
|
<property name="ITEMS" value="DOOR_SWITCHED_OPEN,SWITCH,SWITCH,DOOR_SWITCHED"/>
|
||||||
|
<property name="NAME" value="Why do people leave things in awkward places?"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="HERO" x="133.224" y="106.213">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="STAIRS" x="54.4712" y="59.0903">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="SPIKES_DOWN" x="71.6849" y="72.6462">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="SLIME" x="69.9636" y="57.3689">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="5" name="SPIKES" x="87.3925" y="58.2296">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="6" name="SWORD" x="87.8228" y="91.3661">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,46 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="8">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="RRRRRRRRRRRRRR"/>
|
||||||
|
<property name="ITEMS" value="DOOR,SQUID_DOWN,DOOR_SWITCHED,DOOR_SWITCHED_OPEN"/>
|
||||||
|
<property name="NAME" value="Why are they running right at it?"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="HERO" x="39.5158" y="73.1744">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="SPIKES_DOWN" x="103.754" y="72.9174">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="SQUID_UP" x="103.497" y="139.468">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="SWORD" x="103.754" y="120.454">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="5" name="SWITCH" x="135.616" y="73.6883">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="6" name="STAIRS" x="153.346" y="71.1188">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="7" name="SLIME" x="121.484" y="71.1188">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,37 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="5">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="RRRRRRRRR"/>
|
||||||
|
<property name="ITEMS" value="SWORD,SQUID_DOWN,HERO"/>
|
||||||
|
<property name="NAME" value="Squids keep stealing the treasure. Why did I put them here again?"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="DOOR" x="118.616" y="89.6423">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="SLIME" x="103.054" y="89.6215">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="STAIRS" x="134.77" y="90.1423">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="KEY" x="102.502" y="52.8962">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,40 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="6">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="DDDRRRR"/>
|
||||||
|
<property name="ITEMS" value="SQUID_DOWN,DOOR_SWITCHED_OPEN,DOOR_SWITCHED,KEY"/>
|
||||||
|
<property name="NAME" value="I'm sorry squid"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="HERO" x="70.8948" y="41.3376">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="SWITCH" x="68.8392" y="123.819">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="SPIKES" x="102.757" y="89.6447">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="STAIRS" x="117.917" y="88.103">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="5" name="DOOR" x="85.7981" y="86.3043">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="7">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="RDRDRDRRRDDDRR"/>
|
||||||
|
<property name="ITEMS" value="SWITCH,SWORD,DOOR,SLIME,SLIME"/>
|
||||||
|
<property name="NAME" value="The key is right there!"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="HERO" x="39.2614" y="90.2111">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="STAIRS" x="135.261" y="122.211">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="DOOR" x="119.261" y="122.211">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="KEY" x="103.261" y="74.2111">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="5" name="SQUID_DOWN" x="103.261" y="42.2111">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="6" name="DOOR_SWITCHED" x="103.261" y="58.2111">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,37 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="5">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="DDDRRRRRRRRRRRRU"/>
|
||||||
|
<property name="ITEMS" value="SQUID_UP,SQUID_DOWN,SWITCH,SPIKES,DOOR,KEY"/>
|
||||||
|
<property name="NAME" value="We used to have treasure in there"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="HERO" x="22.9531" y="73.3414">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="DOOR" x="22.9531" y="105.341">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="SWORD" x="86.9531" y="57.3414">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="STAIRS" x="118.953" y="89.3414">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,40 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="6">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="RDDL"/>
|
||||||
|
<property name="ITEMS" value="DOOR_SWITCHED,DOOR_SWITCHED_OPEN"/>
|
||||||
|
<property name="NAME" value="Squids, they have a mind of their own"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="SQUID_DOWN" x="39.9103" y="42.1559">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="SWITCH" x="39.9103" y="74.1559">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="HERO" x="119.91" y="58.1559">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="STAIRS" x="103.91" y="74.1559">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="5" name="SPIKES" x="135.91" y="74.1559">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="7">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="DDDRRRDDDLLL"/>
|
||||||
|
<property name="ITEMS" value="SWITCH,DOOR"/>
|
||||||
|
<property name="NAME" value="Why did I put that door there?"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="DOOR_SWITCHED" x="70.8105" y="58.7495">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="DOOR_SWITCHED_OPEN" x="102.81" y="74.7495">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="HERO" x="70.8105" y="26.7495">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="SQUID_DOWN" x="22.8105" y="74.7495">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="5" name="SPIKES_DOWN" x="102.81" y="122.749">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="6" name="STAIRS" x="86.8105" y="122.749">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="7">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="RRDDRRRRRR"/>
|
||||||
|
<property name="ITEMS" value="KEY,SQUID_DOWN,SQUID_DOWN"/>
|
||||||
|
<property name="NAME" value="Why does no one look where they're going?"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="HERO" x="40.9779" y="91.8723">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="DOOR" x="72.9779" y="107.872">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="DOOR" x="88.9779" y="91.8723">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="SPIKES" x="88.9779" y="75.8723">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="5" name="SWITCH" x="120.978" y="59.8723">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="6" name="STAIRS" x="120.978" y="91.8723">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,52 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="10">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="RRRRRRRRRRRRRRR"/>
|
||||||
|
<property name="ITEMS" value="SWITCH,SWITCH,SWITCH,DOOR_SWITCHED,DOOR_SWITCHED_OPEN,SQUID_UP,SQUID_UP,SQUID_DOWN,SQUID_DOWN"/>
|
||||||
|
<property name="NAME" value="DO I HAVE TO DO EVERYTHING?"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="STAIRS" x="151.602" y="138.188">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="HERO" x="22.019" y="137.682">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="SPIKES" x="118.7" y="140.213">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="SPIKES" x="103.008" y="142.744">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="5" name="DOOR_SWITCHED_OPEN" x="55.9333" y="139.2">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="6" name="SPIKES" x="39.9885" y="137.429">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="7" name="SPIKES_DOWN" x="71.625" y="141.984">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="8" name="DOOR_SWITCHED" x="88.8352" y="134.645">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="9" name="SPIKES_DOWN" x="135.404" y="141.984">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
|
@ -0,0 +1,37 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="11" height="10" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="5">
|
||||||
|
<properties>
|
||||||
|
<property name="DIRECTIONS" value="RLRRRD"/>
|
||||||
|
<property name="ITEMS" value="DOOR_SWITCHED"/>
|
||||||
|
<property name="NAME" value="Switches toggle things"/>
|
||||||
|
</properties>
|
||||||
|
<tileset firstgid="1" source="../level16.tsx"/>
|
||||||
|
<layer id="1" name="Tile Layer 1" width="11" height="10">
|
||||||
|
<data encoding="csv">
|
||||||
|
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
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="Object Layer 1">
|
||||||
|
<object id="1" name="HERO" x="72.4717" y="58.9704">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="2" name="STAIRS" x="104.472" y="74.9704">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="3" name="SWITCH" x="56.4717" y="58.9704">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
<object id="4" name="SPIKES" x="120.472" y="58.9704">
|
||||||
|
<point/>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
Loading…
Reference in a new issue