Skip to content

Commit 5bceb42

Browse files
committed
Fix enter properties ot the tilesets
1 parent 7d6d1c0 commit 5bceb42

26 files changed

+153
-1
lines changed

pysurvive/map/level.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _render(self) -> None:
9696
),
9797
)
9898
# Draw debug border
99-
if tile.enter:
99+
if not tile.enter:
100100
pg.draw.rect(
101101
self.image,
102102
RED,

tiled/tilesets/asphalt.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="asphalt" tilewidth="64" tileheight="64" tilecount="13" columns="13" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/asphalt/tilelist.png" width="832" height="64"/>
8+
</tileset>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="asphalt_cracks_128" tilewidth="128" tileheight="128" tilecount="5" columns="5" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/asphalt/details/cracks/128/tilelist.png" width="640" height="128"/>
4+
</tileset>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="asphalt_cracks_256" tilewidth="256" tileheight="256" tilecount="6" columns="6" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/asphalt/details/cracks/256/tilelist.png" width="1536" height="256"/>
4+
</tileset>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="asphalt_cracks_64" tilewidth="64" tileheight="64" tilecount="7" columns="7" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/asphalt/details/cracks/64/tilelist.png" width="448" height="64"/>
4+
</tileset>

tiled/tilesets/details/bush_128.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="bush_128" tilewidth="128" tileheight="128" tilecount="4" columns="4" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/grass/details/objects/128/tilelist.png" width="512" height="128"/>
4+
</tileset>

tiled/tilesets/details/bush_64.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="bush_64" tilewidth="64" tileheight="64" tilecount="5" columns="5" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/grass/details/objects/64/tilelist.png" width="320" height="64"/>
4+
</tileset>

tiled/tilesets/details/cactus_16.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="cactus_16" tilewidth="16" tileheight="16" tilecount="1" columns="1" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/sand/details/objects/16/tilelist.png" width="16" height="16"/>
4+
</tileset>

tiled/tilesets/details/cactus_32.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="cactus_32" tilewidth="32" tileheight="32" tilecount="3" columns="3" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/sand/details/objects/32/tilelist.png" width="96" height="32"/>
4+
</tileset>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="sand_objects_64" tilewidth="64" tileheight="64" tilecount="10" columns="10" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/sand/details/objects/64/tilelist.png" width="640" height="64"/>
4+
</tileset>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="water_1_waves_128" tilewidth="128" tileheight="128" tilecount="10" columns="10" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/water_1/details/128/tilelist.png" width="1280" height="128"/>
4+
</tileset>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="water_1_waves_256" tilewidth="256" tileheight="256" tilecount="10" columns="10" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/water_1/details/256/tilelist.png" width="2560" height="256"/>
4+
</tileset>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="water_1_waves_64" tilewidth="64" tileheight="64" tilecount="10" columns="10" objectalignment="topleft">
3+
<image source="../../../assets/img/tiles/water_1/details/64/tilelist.png" width="640" height="64"/>
4+
</tileset>

tiled/tilesets/floor_1.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="floor_1" tilewidth="64" tileheight="64" tilecount="1" columns="1" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/floor_1/tilelist.png" width="64" height="64"/>
8+
</tileset>

tiled/tilesets/floor_2.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="floor_2" tilewidth="64" tileheight="64" tilecount="1" columns="1" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/floor_2/tilelist.png" width="64" height="64"/>
8+
</tileset>

tiled/tilesets/floor_3.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="floor_3" tilewidth="64" tileheight="64" tilecount="1" columns="1" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/floor_3/tilelist.png" width="64" height="64"/>
8+
</tileset>

tiled/tilesets/floor_4.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="floor_4" tilewidth="64" tileheight="64" tilecount="1" columns="1" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/floor_4/tilelist.png" width="64" height="64"/>
8+
</tileset>

tiled/tilesets/floor_5.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="floor_5" tilewidth="64" tileheight="64" tilecount="1" columns="1" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/floor_5/tilelist.png" width="64" height="64"/>
8+
</tileset>

tiled/tilesets/grass.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="grass" tilewidth="64" tileheight="64" tilecount="13" columns="13" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/grass/tilelist.png" width="832" height="64"/>
8+
</tileset>

tiled/tilesets/ground_1.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="ground_1" tilewidth="64" tileheight="64" tilecount="13" columns="13" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/ground_1/tilelist.png" width="832" height="64"/>
8+
</tileset>

tiled/tilesets/ground_2.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="ground_2" tilewidth="64" tileheight="64" tilecount="13" columns="13" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/ground_2/tilelist.png" width="832" height="64"/>
8+
</tileset>

tiled/tilesets/sand.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="sand" tilewidth="64" tileheight="64" tilecount="13" columns="13" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/sand/tilelist.png" width="832" height="64"/>
8+
</tileset>

tiled/tilesets/sand_objects_128.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.4" tiledversion="1.4.3" name="sand_objects_128" tilewidth="128" tileheight="128" tilecount="3" columns="3" objectalignment="topleft">
3+
<image source="../../assets/img/tiles/sand/details/objects/128/tilelist.png" width="384" height="128"/>
4+
</tileset>

tiled/tilesets/stone.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="stone" tilewidth="64" tileheight="64" tilecount="13" columns="13" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="true"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/stone/tilelist.png" width="832" height="64"/>
8+
</tileset>

tiled/tilesets/water_1.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="water_1" tilewidth="64" tileheight="64" tilecount="13" columns="13" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="false"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/water_1/tilelist.png" width="832" height="64"/>
8+
</tileset>

tiled/tilesets/water_2.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<tileset version="1.8" tiledversion="1.8.2" name="water_2" tilewidth="64" tileheight="64" tilecount="13" columns="13" objectalignment="topleft">
3+
<properties>
4+
<property name="block" type="bool" value="false"/>
5+
<property name="enter" type="bool" value="false"/>
6+
</properties>
7+
<image source="../../assets/img/tiles/water_2/tilelist.png" width="832" height="64"/>
8+
</tileset>

0 commit comments

Comments
 (0)