Lvl slime fix

This commit is contained in:
Mootfrost777 2023-08-18 19:06:44 +03:00
parent fa399951a8
commit 447b8f0b10
2 changed files with 653 additions and 1 deletions

652
DangerousD/Content/lvl2.tmx Normal file
View file

@ -0,0 +1,652 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.10.2" orientation="orthogonal" renderorder="right-down" width="30" height="20" tilewidth="16" tileheight="16" infinite="1" nextlayerid="7" nextobjectid="61">
<tileset firstgid="1" name="map" tilewidth="16" tileheight="16" tilecount="871" columns="13">
<image source="tiles.BMP" width="208" height="1072"/>
</tileset>
<tileset firstgid="872" source="map.tsx"/>
<tileset firstgid="1743" source="Door.tsx"/>
<layer id="2" name="Collision" class="StopTile" width="30" height="20">
<data encoding="csv">
<chunk x="-16" y="-32" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1157,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1027,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1027,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1027
</chunk>
<chunk x="0" y="-32" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,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,0,0,0,0,0,
1157,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1027,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1027,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1027,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="-16" y="-16" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1027,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1027,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1027,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1157,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156
</chunk>
<chunk x="0" y="-16" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="16" y="-16" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="32" y="-16" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="48" y="-16" width="16" height="16">
1027,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1027,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1027,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1157,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="-16" y="0" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,405
</chunk>
<chunk x="0" y="0" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405
</chunk>
<chunk x="16" y="0" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1239,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1252,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1265,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1278,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405
</chunk>
<chunk x="32" y="0" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,
0,0,0,0,0,1027,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1027,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1027,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1027,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1027,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,1027,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,0,0,405,405,405,405,405,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,405,405,405,405,405,405,405,405,405,405,405,405,405,405,405
</chunk>
<chunk x="48" y="0" width="16" height="16">
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
156,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
405,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
</data>
</layer>
<layer id="1" name="Background" class="Tile" width="30" height="20">
<data encoding="csv">
<chunk x="0" y="-32" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
576,577,578,579,580,581,576,577,578,579,580,581,576,577,578,579,
589,590,591,592,593,594,589,590,591,592,593,594,589,590,591,592,
602,603,604,605,606,607,602,603,604,605,606,607,602,603,1453,1454
</chunk>
<chunk x="16" y="-32" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
580,581,576,577,578,579,580,581,576,577,578,579,580,581,576,577,
593,594,589,590,591,592,593,594,589,590,591,592,593,594,589,590,
606,607,602,603,604,605,606,607,602,603,604,605,606,607,602,603
</chunk>
<chunk x="32" y="-32" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
578,579,580,581,576,577,578,579,580,581,576,577,578,579,580,581,
591,592,593,594,589,590,591,592,593,594,589,590,591,592,593,594,
604,605,606,607,602,603,604,1453,1454,607,602,603,604,605,606,607
</chunk>
<chunk x="0" y="-16" width="16" height="16">
615,616,617,618,619,620,615,616,950,951,619,620,615,616,1466,1467,
628,629,630,631,632,633,628,629,963,964,632,633,628,629,1479,1480,
641,642,643,1378,645,646,641,642,976,977,645,646,641,642,643,644,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
576,577,578,579,580,581,576,577,578,579,580,581,576,577,578,579,
589,590,591,592,593,594,589,590,591,1333,1334,594,589,590,591,592,
602,603,604,605,606,607,602,603,604,1346,1347,607,602,603,604,605,
615,616,950,951,619,620,615,616,617,1359,1360,620,615,616,950,951,
628,629,963,964,632,633,628,629,630,631,632,633,628,629,963,964,
641,642,976,977,645,646,641,642,643,1378,645,646,641,642,976,977,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
576,577,578,579,580,581,576,577,578,579,580,581,576,577,578,579,
589,590,591,592,593,594,589,590,591,592,593,594,589,590,591,592,
602,603,604,605,606,607,602,603,604,1325,1326,607,602,603,604,605,
615,616,617,618,619,620,615,616,617,1338,1339,620,615,616,79,80,
628,629,630,631,632,633,628,629,630,631,632,633,628,629,92,93
</chunk>
<chunk x="16" y="-16" width="16" height="16">
619,620,615,616,617,618,619,620,615,616,950,951,619,620,615,616,
632,633,628,629,630,631,632,633,628,629,963,964,632,633,628,629,
645,646,641,642,643,644,645,646,641,642,976,977,645,646,641,642,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
580,581,576,577,578,579,580,581,576,577,578,579,1239,581,576,577,
593,594,589,590,591,592,593,594,589,590,591,592,1252,594,589,590,
606,607,602,603,1453,1454,606,607,602,603,604,605,1265,607,602,603,
619,620,615,616,1466,1467,619,620,615,616,617,618,619,620,615,616,
632,633,628,629,1479,1480,632,633,628,629,630,631,632,633,628,629,
645,646,641,642,643,644,645,646,641,642,643,644,645,646,641,642,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
580,581,576,577,578,579,580,581,576,577,578,579,580,581,576,577,
593,594,589,590,591,592,593,594,589,590,591,592,593,594,589,590,
606,607,602,603,604,605,606,607,602,603,604,605,606,607,602,603,
619,620,615,616,617,618,619,620,615,950,951,618,619,620,615,616,
632,633,628,629,630,631,632,633,628,963,964,631,632,633,628,629
</chunk>
<chunk x="32" y="-16" width="16" height="16">
617,618,619,620,615,616,617,1466,1467,620,615,616,950,951,619,620,
1397,631,632,633,628,629,630,1479,1480,633,628,629,963,964,632,633,
1410,644,645,646,641,642,643,644,645,646,641,642,976,977,645,646,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
578,579,580,581,576,577,578,579,580,581,576,577,578,579,580,581,
591,1333,1334,594,589,590,591,592,593,594,589,590,591,592,593,594,
604,1346,1347,607,602,603,604,605,606,607,602,603,604,605,606,607,
617,1359,1360,620,615,1325,1326,618,619,620,615,616,950,951,619,620,
1265,631,632,633,628,1338,1339,631,632,633,628,629,963,964,632,633,
1278,644,645,646,641,642,643,644,1378,646,641,642,976,977,645,646,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
578,579,580,581,576,577,578,579,580,581,576,577,578,579,580,581,
1453,1454,593,594,589,590,591,592,593,594,589,590,591,592,593,594,
1466,1467,606,607,602,603,604,605,606,607,602,603,604,605,606,607,
1479,1480,619,620,615,616,950,951,619,620,615,616,617,618,619,620,
630,631,632,633,628,629,963,964,632,633,628,629,630,631,632,633
</chunk>
<chunk x="0" y="0" width="16" height="16">
641,642,643,644,645,646,641,642,643,644,645,646,641,642,105,106,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
576,577,578,579,580,581,576,577,578,579,580,581,576,577,578,579,
589,590,591,592,593,594,589,590,591,592,593,594,589,590,591,592,
602,603,1453,1454,606,607,602,603,604,605,606,607,602,603,604,605,
615,616,1466,1467,619,620,615,616,950,951,619,620,615,616,617,618,
628,629,1479,1480,632,633,628,629,963,964,632,633,628,629,630,631,
641,642,643,644,645,646,641,642,976,977,645,646,641,642,643,644,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
576,577,578,579,580,581,576,577,578,579,580,581,576,577,578,579,
589,590,591,592,593,594,589,590,591,592,593,594,589,590,591,592,
602,603,604,605,606,607,602,603,604,573,574,607,602,603,604,454,
615,950,951,618,619,620,615,616,617,618,619,620,615,616,617,467,
628,963,964,631,632,633,628,629,630,631,632,633,628,629,630,631,
641,976,977,1378,645,646,641,642,643,644,645,646,641,642,643,644,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="16" y="0" width="16" height="16">
645,646,641,642,643,1378,645,646,641,976,977,644,645,646,641,642,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
580,581,576,577,578,579,580,581,576,577,578,579,580,581,576,577,
593,594,589,590,591,592,593,594,589,590,591,592,593,594,589,590,
0,607,602,603,604,605,606,607,602,603,1325,1326,606,607,602,603,
0,620,615,616,617,618,619,620,615,616,1338,1339,619,620,615,616,
0,633,628,0,0,631,632,633,628,629,1397,631,632,633,628,629,
0,646,641,0,0,644,645,646,641,642,1410,644,645,646,641,642,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
580,581,576,577,578,579,580,581,576,577,578,579,580,581,576,577,
593,594,589,590,591,462,463,594,589,590,591,592,593,594,589,590,
455,607,602,603,604,475,476,607,602,603,604,605,606,607,602,603,
468,620,615,616,617,488,489,620,615,616,617,0,0,620,615,616,
632,633,628,629,630,631,632,633,628,629,630,0,0,633,628,629,
645,646,641,642,643,644,645,646,641,642,643,0,0,646,641,642,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
<chunk x="32" y="0" width="16" height="16">
643,644,645,646,641,642,976,977,645,646,641,642,1378,644,645,646,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
578,579,580,581,576,0,578,579,580,581,576,577,578,579,580,581,
591,592,593,594,589,0,591,592,593,594,589,590,591,592,593,594,
604,605,606,607,602,0,604,605,606,607,602,603,604,605,606,607,
950,951,619,620,615,0,617,618,619,620,615,616,950,951,619,620,
963,964,632,633,628,0,630,631,632,633,628,629,963,964,632,633,
976,977,645,646,641,0,643,1378,645,646,641,642,976,977,645,646,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
578,579,580,581,576,577,578,579,580,581,576,577,578,579,580,581,
591,592,593,594,589,590,591,592,593,594,589,590,591,592,593,594,
604,605,606,607,602,603,604,605,606,0,0,603,604,605,606,607,
950,951,619,620,615,616,617,618,619,0,0,616,617,618,619,620,
963,964,632,633,628,629,630,631,0,0,0,0,630,631,632,633,
976,977,645,646,641,642,643,644,0,0,0,0,643,644,645,1378,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
</data>
</layer>
<layer id="4" name="Boxes" class="Platform" width="30" height="20">
<data encoding="csv">
<chunk x="0" y="-16" width="16" height="16">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,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,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,1238,1238,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,1567,1568,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,1580,1581,0,0,0,0,0,
0,0,0,0,0,0,0,0,1567,1568,1567,1568,0,0,0,0,
0,0,0,0,0,0,0,0,1580,1581,1580,1581,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</chunk>
</data>
</layer>
<objectgroup id="6" name="Player" class="LivingEntities.Player">
<object id="60" x="240" y="10.6667">
<point/>
</object>
</objectgroup>
<objectgroup id="3" name="Doors">
<object id="26" type="Entities.TeleportingDoor" gid="873" x="16" y="240.091" width="32" height="48">
<properties>
<property name="destination" type="object" value="27"/>
</properties>
</object>
<object id="27" type="Entities.TeleportingDoor" gid="873" x="128" y="128" width="32" height="48">
<properties>
<property name="destination" type="object" value="26"/>
</properties>
</object>
<object id="28" type="Entities.Door" gid="873" x="224.091" y="16" width="32" height="48"/>
<object id="29" type="Entities.TeleportingDoor" gid="873" x="400" y="16.0625" width="32" height="48">
<properties>
<property name="destination" type="object" value="30"/>
</properties>
</object>
<object id="30" type="Entities.TeleportingDoor" gid="873" x="32" y="-96.0909" width="32" height="48">
<properties>
<property name="destination" type="object" value="29"/>
</properties>
</object>
<object id="31" type="Entities.TeleportingDoor" gid="873" x="127.909" y="-207.909" width="32" height="48">
<properties>
<property name="destination" type="object" value="32"/>
</properties>
</object>
<object id="32" type="Entities.TeleportingDoor" gid="873" x="703.909" y="127.909" width="32" height="48">
<properties>
<property name="destination" type="object" value="31"/>
</properties>
</object>
<object id="33" type="Entities.TeleportingDoor" gid="873" x="512" y="128.182" width="32" height="48">
<properties>
<property name="destination" type="object" value="34"/>
</properties>
</object>
<object id="34" type="Entities.TeleportingDoor" gid="873" x="703.909" y="-96.0909" width="32" height="48">
<properties>
<property name="destination" type="object" value="33"/>
</properties>
</object>
<object id="35" type="Entities.TeleportingDoor" gid="873" x="703.909" y="-208" width="32" height="48">
<properties>
<property name="nextLevel" type="bool" value="true"/>
</properties>
</object>
<object id="36" type="Entities.Door" gid="873" x="512" y="239.938" width="32" height="48"/>
<object id="37" type="Entities.Door" gid="873" x="224" y="-96.0909" width="32" height="48"/>
<object id="38" type="Entities.Door" gid="873" x="416" y="-208" width="32" height="48"/>
<object id="39" type="Entities.Door" gid="873" x="608" y="16" width="32" height="48"/>
</objectgroup>
<objectgroup id="5" name="Monsters">
<object id="42" type="LivingEntities.Monsters.Spider" x="93" y="157">
<point/>
</object>
<object id="43" type="LivingEntities.Monsters.Slime" x="464" y="150">
<point/>
</object>
<object id="44" type="LivingEntities.Monsters.Zombie" x="227" y="220">
<point/>
</object>
<object id="45" type="LivingEntities.Monsters.Ghost" x="751" y="103">
<point/>
</object>
<object id="46" type="LivingEntities.Monsters.Zombie" x="559" y="107">
<point/>
</object>
<object id="47" type="LivingEntities.Monsters.Slime" x="131" y="56">
<point/>
</object>
<object id="48" type="LivingEntities.Monsters.Zombie" x="90" y="113">
<point/>
</object>
<object id="49" type="LivingEntities.Monsters.Zombie" x="85" y="-3">
<point/>
</object>
<object id="51" type="LivingEntities.Monsters.Zombie" x="658" y="-10">
<point/>
</object>
<object id="52" type="LivingEntities.Monsters.Spider" x="465" y="-71">
<point/>
</object>
<object id="53" type="LivingEntities.Monsters.Zombie" x="123" y="-116">
<point/>
</object>
<object id="54" type="LivingEntities.Monsters.Zombie" x="274" y="-113">
<point/>
</object>
<object id="55" type="LivingEntities.Monsters.Zombie" x="660" y="-120">
<point/>
</object>
<object id="56" type="LivingEntities.Monsters.Ghost" x="445" y="-126">
<point/>
</object>
<object id="57" type="LivingEntities.Monsters.Zombie" x="179" y="-228">
<point/>
</object>
<object id="58" type="LivingEntities.Monsters.Zombie" x="268" y="-229">
<point/>
</object>
<object id="59" type="LivingEntities.Monsters.Frank" x="549" y="-229">
<point/>
</object>
</objectgroup>
</map>

View file

@ -226,7 +226,7 @@ namespace DangerousD.GameCore.GameObjects.LivingEntities
Zombie targetZombie = (Zombie)targets.First();
targetZombie.TakeDamage();
}
targets = AppManager.Instance.GameManager.physicsManager.CheckRectangle(GetShootRectangle(isRight), typeof(SilasHands));
targets = AppManager.Instance.GameManager.physicsManager.CheckRectangle(GetShootRectangle(isRight), typeof(SilasHands)).OrderBy(x => (x.Pos - Pos).LengthSquared());
if (targets.Count() > 0)
{
SilasHands targetHand = (SilasHands)targets.First();