6
.gitignore
vendored
@ -1,9 +1,3 @@
|
||||
# Ignore Gradle project-specific cache directory
|
||||
.gradle
|
||||
|
||||
# Ignore Gradle build output directory
|
||||
build
|
||||
|
||||
# Ignore bin
|
||||
bin/
|
||||
*.tiled-session
|
||||
|
123
resources/map/21N2.tmx
Normal file
@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.8" tiledversion="1.8.5" orientation="orthogonal" renderorder="right-down" width="41" height="24" tilewidth="32" tileheight="32" infinite="0" nextlayerid="8" nextobjectid="11">
|
||||
<tileset firstgid="1" source="assets/pokemon_v2.tsx"/>
|
||||
<tileset firstgid="987" source="assets/Dungeon_v2.tsx"/>
|
||||
<tileset firstgid="1215" source="assets/Slates_v2.tsx"/>
|
||||
<layer id="4" name="floor" width="41" height="24">
|
||||
<data encoding="csv">
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1228,1007,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1228,1007,1007,1228,1007,1007,1007,1007,1228,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1228,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007
|
||||
</data>
|
||||
</layer>
|
||||
<layer id="2" name="stairs" width="41" height="24">
|
||||
<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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,3221225833,1073742184,3221225831,359,360,361,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1025,3221225833,1073742184,3221225831,359,360,361,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1044,0,620,620,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1267,0,0,0,0,0,0,0,0,0,0,0,
|
||||
620,620,620,620,620,620,620,552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,620,620,620,620,620,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
594,594,594,594,594,594,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
594,594,594,594,594,594,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,
|
||||
0,0,0,0,0,0,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1276,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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>
|
||||
<layer id="1" name="wall" width="41" height="24">
|
||||
<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,990,991,991,991,991,991,991,992,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1009,1010,1010,1010,1010,1010,1010,1011,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,0,0,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,0,0,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1031,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,0,0,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1031,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,0,0,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1149,1027,0,1025,1027,620,1025,991,991,991,0,991,0,991,991,991,991,991,991,991,991,0,1027,1050,1050,1050,1050,1050,1050,1006,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1009,1169,0,1044,1046,0,1044,1010,1010,1010,0,1010,0,1010,1010,1010,1010,1010,1010,1010,1010,0,1046,1050,1050,1050,1050,1050,1050,1006,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1008,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1008,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1028,1031,1029,1029,1029,1029,1029,1029,1029,1029,1029,1031,1029,1029,1029,1029,1029,1029,1029,1029,0,1029,1029,1188,1277,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1047,1031,1048,1048,1048,1048,1048,1048,1048,1048,1048,1031,1048,1048,1048,1048,1048,1048,1048,1048,0,1048,1048,1207,1277,0,0,0,0,1025,991,991,0,991,991,991,991,991,991,991,992,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1044,1010,1010,0,1010,1010,1010,1010,1010,1010,1010,1011,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1006,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1006,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1189,1029,1050,1029,1029,1029,1029,1029,1029,1029,1029,1190,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1208,1048,1050,1048,1048,1048,1048,1048,1048,1048,1048,1209,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,620,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,620,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,620,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,727,0,1006,0,0,0,0,0,0,0,0,0,0,620,
|
||||
620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,761,0,1006,0,0,0,0,620,620,620,620,0,0,620,
|
||||
620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1028,1029,1029,1029,1029,1029,1030,620,620,620,620,620,620,620,620,620,620,620,
|
||||
620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1047,1048,1048,1048,1048,1048,1049,620,620,620,620,620,620,620,620,620,620,620
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup id="6" name="door">
|
||||
<object id="1" name="down" x="80.6667" y="177.667">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21N1"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="2" name="up" x="178" y="177.667">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21N3"/>
|
||||
<property name="nextX" type="int" value="2"/>
|
||||
<property name="nextY" type="int" value="16"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="3" name="21N209" x="48.6667" y="369.333"/>
|
||||
<object id="4" name="21N208" x="370" y="370"/>
|
||||
<object id="5" name="WC" x="336" y="208"/>
|
||||
<object id="6" name="WC" x="400.667" y="208.666"/>
|
||||
<object id="7" name="21N203" x="688.667" y="207.333"/>
|
||||
<object id="8" name="21N208" x="657.333" y="369.333"/>
|
||||
<object id="9" name="21N205" x="1039.67" y="368.75">
|
||||
<properties>
|
||||
<property name="nextDirection" value=""/>
|
||||
<property name="nextMap" value="21N205"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="10" name="21N206" x="1008" y="529.333"/>
|
||||
</objectgroup>
|
||||
</map>
|
139
resources/map/21N3.tmx
Normal file
@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.8" tiledversion="1.8.5" orientation="orthogonal" renderorder="right-down" width="41" height="20" tilewidth="32" tileheight="32" infinite="0" nextlayerid="7" nextobjectid="11">
|
||||
<tileset firstgid="1" source="assets/pokemon_v2.tsx"/>
|
||||
<tileset firstgid="987" source="assets/Dungeon_v2.tsx"/>
|
||||
<tileset firstgid="1215" source="assets/Slates_v2.tsx"/>
|
||||
<layer id="4" name="floor" width="41" height="20">
|
||||
<data encoding="csv">
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1228,1007,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1228,1007,1007,1228,1007,1007,1007,1007,1228,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1228,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,1228,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1228,1228,1228,1228,1228,1228,1228,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007
|
||||
</data>
|
||||
</layer>
|
||||
<layer id="2" name="stairs" width="41" height="20">
|
||||
<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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,3221225833,1073742184,3221225831,359,360,361,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1025,3221225833,1073742184,3221225831,359,360,361,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1044,0,620,620,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1267,0,0,0,0,0,0,0,0,0,0,0,
|
||||
620,620,620,620,620,620,620,552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,620,620,620,620,620,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
594,594,594,594,594,594,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
594,594,594,594,594,594,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,
|
||||
0,0,0,0,0,0,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1276,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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>
|
||||
<layer id="1" name="wall" width="41" height="20">
|
||||
<data encoding="csv">
|
||||
1031,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1031,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1149,1027,0,1025,1027,620,1025,991,991,991,0,991,0,991,991,991,991,991,991,991,991,0,991,991,991,991,991,991,991,992,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1009,1169,0,1044,1046,0,1044,1010,1010,1010,0,1010,0,1010,1010,1010,1010,1010,1010,1010,1010,0,1010,1010,1010,1010,1010,1010,1010,1011,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1008,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1008,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1028,1031,1029,1029,1029,1029,1029,1029,1029,1029,1029,1031,1029,1029,1029,1029,1029,1029,1029,1029,0,1029,1029,1188,1277,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1047,1031,1048,1048,1048,1048,1048,1048,1048,1048,1048,1031,1048,1048,1048,1048,1048,1048,1048,1048,0,1048,1048,1207,1277,0,0,0,0,1025,991,991,0,991,991,991,991,991,991,991,992,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1044,1010,1010,0,1010,1010,1010,1010,1010,1010,1010,1011,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1006,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1006,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1189,1029,1050,1029,1029,1029,1029,1029,1029,1029,1029,1190,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1208,1048,1050,1048,1048,1048,1048,1048,1048,1048,1048,1209,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,620,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,620,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,0,0,1006,0,0,0,0,0,0,0,0,0,0,620,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,727,0,1006,0,0,0,0,0,0,0,0,0,0,620,
|
||||
620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1008,1277,0,0,761,0,1006,0,0,0,0,620,620,620,620,0,0,620,
|
||||
620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1028,1029,1029,1029,1029,1029,1030,620,620,620,620,620,620,620,620,620,620,620,
|
||||
620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1047,1048,1048,1048,1048,1048,1049,620,620,620,620,620,620,620,620,620,620,620
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup id="6" name="door">
|
||||
<object id="1" name="down" x="78" y="48.6667">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21N2"/>
|
||||
<property name="nextX" type="int" value="5"/>
|
||||
<property name="nextY" type="int" value="16"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="2" name="up" x="175.333" y="48.6667">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21N4"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="3" name="21N308" x="48.6667" y="241.333">
|
||||
<properties>
|
||||
<property name="nextDirection" value=""/>
|
||||
<property name="nextMap" value="21N308"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="4" name="21N307" x="370" y="242">
|
||||
<properties>
|
||||
<property name="nextDirection" value=""/>
|
||||
<property name="nextMap" value="21N307"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="5" name="WC" x="336" y="80.0003"/>
|
||||
<object id="6" name="WC" x="400.667" y="80.6663"/>
|
||||
<object id="7" name="21N303" x="688.667" y="79.3333">
|
||||
<properties>
|
||||
<property name="nextDirection" value=""/>
|
||||
<property name="nextMap" value="21N303"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="8" name="21N307" x="657.333" y="241.333">
|
||||
<properties>
|
||||
<property name="nextDirection" value=""/>
|
||||
<property name="nextMap" value="21N307"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="9" name="21N304" x="1039.67" y="240.75">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21N304"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="10" name="21N305" x="1008" y="401.333"/>
|
||||
</objectgroup>
|
||||
</map>
|
124
resources/map/21RI.tmx
Normal file
@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.8" tiledversion="1.8.5" orientation="orthogonal" renderorder="right-down" width="41" height="24" tilewidth="32" tileheight="32" infinite="0" nextlayerid="9" nextobjectid="20">
|
||||
<tileset firstgid="1" source="assets/pokemon_v2.tsx"/>
|
||||
<tileset firstgid="987" source="assets/Dungeon_v2.tsx"/>
|
||||
<tileset firstgid="1215" source="assets/Slates_v2.tsx"/>
|
||||
<layer id="4" name="floor" width="41" height="24">
|
||||
<data encoding="csv">
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,586,586,586,586,586,586,586,586,586,586,586,586,586,586,586,586,586,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1063,1007,1007,1063,1007,1007,1007,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
586,586,1063,586,586,1063,586,586,586,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,1255,586,586,586,586,586,586,586,586,586,586,586,1007,1007,1007,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,1063,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,1063,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,1063,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,1063,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,1063,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,1063,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,586,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,586,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,586,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,586,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,586,586,586,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,586,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,586,586,586,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,586,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,586,586,586,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,586,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,586,586,586,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,586,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,586,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,
|
||||
1063,1063,1063,1063,1063,1063,1063,1063,586,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,
|
||||
586,586,809,809,809,809,809,1063,586,586,586,809,586,586,586,586,586,809,586,586,586,586,586,809,586,586,586,586,586,809,586,586,586,586,586,809,586,586,586,586,1007
|
||||
</data>
|
||||
</layer>
|
||||
<layer id="2" name="stairs" width="41" height="24">
|
||||
<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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,3221225833,1073742184,3221225831,359,360,361,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1025,3221225833,1073742184,3221225831,359,360,361,0,0,724,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,724,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1044,0,620,620,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1267,0,0,0,0,0,0,0,0,0,0,0,
|
||||
620,620,620,620,620,620,620,552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,620,620,620,620,620,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
594,594,594,594,594,594,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
594,594,594,594,594,594,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,
|
||||
0,0,0,0,0,0,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1276,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,359,360,361,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,359,360,361,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,359,360,361,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,359,360,361,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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>
|
||||
<layer id="1" name="wall" width="41" height="24">
|
||||
<data encoding="csv">
|
||||
0,0,0,0,0,0,0,0,0,990,991,991,991,991,991,991,991,991,991,991,991,991,991,991,991,992,586,586,586,586,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,1009,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1011,586,586,586,586,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,1008,0,0,0,0,0,0,0,0,0,0,0,0,586,586,0,1006,1050,586,0,586,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,1008,0,0,0,0,0,0,0,0,0,0,0,0,586,0,0,1006,1050,0,586,586,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1031,0,0,0,0,0,0,0,0,1008,0,0,0,0,0,0,0,0,0,0,0,0,586,0,0,1006,1050,0,586,586,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1031,0,0,0,0,0,0,0,0,1008,586,0,0,586,586,586,586,586,586,586,586,0,586,0,0,1006,0,0,0,586,0,0,0,0,0,0,0,0,0,0,1050,
|
||||
1149,1027,0,1025,1027,620,1025,991,991,1027,724,724,724,724,724,724,724,724,724,724,724,724,724,724,724,1025,1026,1026,1026,1026,1026,1026,1026,1026,1026,1026,992,0,0,0,1050,
|
||||
1009,1169,0,1044,1046,0,1044,1010,1010,1046,586,586,586,586,586,586,586,586,586,586,586,586,586,1050,1050,1044,1045,1045,1045,1045,1045,1045,1045,1045,1045,1045,1011,0,0,0,1050,
|
||||
1008,620,0,0,0,0,0,0,0,586,586,586,586,0,586,0,586,0,586,586,586,586,0,0,0,0,0,0,0,586,0,0,0,0,0,0,1006,0,0,0,1050,
|
||||
1008,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,586,586,586,0,0,0,0,0,0,0,586,0,0,0,0,0,0,1006,0,0,0,1050,
|
||||
1008,727,586,586,586,586,586,586,586,586,727,586,586,586,586,727,586,586,586,586,586,727,586,586,1277,0,0,727,0,586,0,0,0,727,586,586,1006,586,0,0,1050,
|
||||
1008,761,586,586,586,586,586,586,586,586,761,586,586,586,586,761,586,586,586,586,586,761,586,586,1277,0,0,761,0,586,586,586,586,761,586,586,1006,586,586,586,586,
|
||||
1008,0,0,0,0,0,0,987,988,989,0,0,0,586,586,586,0,586,586,586,586,0,586,586,1277,0,0,0,0,586,586,586,586,586,586,586,1006,586,586,586,586,
|
||||
1008,586,586,586,586,586,586,1006,1007,1008,586,586,586,0,0,0,0,586,0,0,586,0,586,586,1277,0,0,0,0,586,586,0,586,586,586,0,1006,0,0,0,586,
|
||||
1008,0,0,0,0,0,0,1006,1007,1008,0,0,0,0,0,0,586,0,0,0,586,586,586,586,1277,0,0,0,0,586,586,586,0,0,586,586,1006,0,0,0,586,
|
||||
1008,0,0,0,0,0,0,1006,1007,1008,0,0,0,0,0,586,0,0,0,0,0,0,586,586,1277,0,0,0,0,586,586,586,586,586,586,586,1006,586,586,586,586,
|
||||
1008,0,0,0,0,0,0,1006,1007,1008,0,0,0,0,586,586,0,0,0,0,0,0,586,594,594,0,0,0,0,586,586,586,586,586,586,586,1006,1007,1007,1007,586,
|
||||
1008,0,0,0,0,0,0,1006,1007,1008,0,0,0,0,586,0,0,0,0,0,0,0,586,586,1277,0,0,0,0,586,586,586,0,0,0,0,1006,1008,0,1006,620,
|
||||
1008,0,0,0,0,0,0,1006,1007,1008,0,0,0,586,586,0,0,0,0,0,0,0,0,586,1277,0,0,0,0,586,586,586,0,0,0,0,1006,1008,0,1006,620,
|
||||
1008,0,0,0,0,0,0,1006,1007,1008,0,0,0,586,0,0,0,0,0,0,0,0,0,586,1277,0,0,0,0,586,586,0,0,0,0,0,1025,1027,0,1006,620,
|
||||
1008,727,0,0,0,0,0,1006,1007,1008,0,0,0,586,0,727,0,0,0,0,0,727,0,586,1277,0,0,727,0,586,586,0,0,727,0,0,1044,1046,0,1006,620,
|
||||
1008,761,0,0,0,0,0,1006,1007,1008,0,0,0,586,0,761,0,0,0,0,0,761,0,586,1277,0,0,761,0,586,0,0,0,761,620,620,620,620,0,1006,620,
|
||||
1028,1029,1029,0,0,0,1029,1030,1007,1028,1029,0,1029,1029,1029,1029,1029,0,1029,1029,1029,1029,1029,586,1029,1029,1029,1029,1029,586,1029,1029,1029,1029,1029,620,1029,1029,1029,1030,620,
|
||||
1047,1048,1048,0,0,0,1048,1049,1007,1047,1048,0,1048,1048,1048,1048,1048,586,1048,1048,1048,1048,1048,586,1048,1048,1048,1048,1048,586,1048,1048,1048,1048,1048,620,1048,1048,1048,1049,620
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup id="6" name="door">
|
||||
<object id="1" name="down" x="80.6667" y="177.667">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21SS"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="2" name="up" x="178" y="177.667">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21N2"/>
|
||||
<property name="nextX" type="int" value="2"/>
|
||||
<property name="nextY" type="int" value="16"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="11" name="out" x="144" y="750.667"/>
|
||||
<object id="12" name="out" x="176" y="750.667"/>
|
||||
<object id="13" name="out" x="110.667" y="750.667"/>
|
||||
<object id="14" name="out" x="369" y="751"/>
|
||||
<object id="15" name="out" x="562" y="750"/>
|
||||
<object id="16" name="out" x="751" y="751"/>
|
||||
<object id="17" name="out" x="943" y="753"/>
|
||||
<object id="18" name="out" x="1136" y="751"/>
|
||||
<object id="19" name="stair" x="1232" y="590">
|
||||
<properties>
|
||||
<property name="nextDirection" value="up"/>
|
||||
<property name="nextMap" value="21RS"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
</objectgroup>
|
||||
</map>
|
135
resources/map/21RS.tmx
Normal file
@ -0,0 +1,135 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.8" tiledversion="1.8.5" orientation="orthogonal" renderorder="right-down" width="41" height="24" tilewidth="32" tileheight="32" infinite="0" nextlayerid="9" nextobjectid="14">
|
||||
<tileset firstgid="1" source="assets/pokemon_v2.tsx"/>
|
||||
<tileset firstgid="987" source="assets/Dungeon_v2.tsx"/>
|
||||
<tileset firstgid="1215" source="assets/Slates_v2.tsx"/>
|
||||
<imagelayer id="8" name="Calque d'Images 1" visible="0" offsetx="-385.506" offsety="3.03654">
|
||||
<image source="png/21RS.PNG" width="4164" height="1053"/>
|
||||
</imagelayer>
|
||||
<layer id="4" name="floor" width="41" height="24">
|
||||
<data encoding="csv">
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1007,1007,1007,1007,1031,1031,1031,809,809,1031,1031,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,837,837,837,837,837,837,837,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,837,837,837,837,837,837,837,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,837,837,837,837,837,837,837,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,837,837,837,837,837,837,837,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,837,837,837,837,837,837,837,
|
||||
1031,1031,1031,1031,1031,1031,1031,1031,1031,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1007,1007,1007,1007,837,837,837,837,837,837,837,
|
||||
1031,1031,1031,1031,1031,1031,1031,1031,1031,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,1031,1031,1031,1031,837,837,837,837,837,837,837,
|
||||
1031,1031,1031,1031,1031,1031,1031,1031,1031,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,
|
||||
1031,1031,1031,1031,1031,1031,1031,1031,1031,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,
|
||||
459,1031,1031,1031,1031,1031,1031,1031,1031,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,
|
||||
459,1031,1031,1031,1031,1031,1031,1031,1050,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,
|
||||
459,1031,1031,1031,1031,1031,459,459,459,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,837,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,837,837,837,1031,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1031,1031,1031,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1031,1031,1031,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1031,1031,1031,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,
|
||||
1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007,1007
|
||||
</data>
|
||||
</layer>
|
||||
<layer id="2" name="stairs" width="41" height="24">
|
||||
<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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,3221225833,1073742184,3221225831,359,360,361,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1025,3221225833,1073742184,3221225831,359,360,361,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1044,0,620,620,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1267,0,0,0,0,0,0,0,0,0,0,0,
|
||||
620,620,620,620,620,620,620,552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,620,620,620,620,620,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
594,594,594,594,594,594,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
594,594,594,594,594,594,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,
|
||||
0,0,0,0,0,0,620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,359,360,361,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,359,360,361,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,359,360,361,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1276,0,0,0,0,0,0,359,360,361,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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>
|
||||
<layer id="1" name="wall" width="41" height="24">
|
||||
<data encoding="csv">
|
||||
0,0,0,0,0,0,0,0,0,990,991,991,991,991,991,991,991,991,991,991,991,991,991,991,991,991,991,991,991,992,0,0,0,0,990,991,991,0,0,991,992,
|
||||
0,0,0,0,0,0,0,0,0,1009,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1010,1011,0,0,0,0,1009,1010,1010,0,0,1010,1011,
|
||||
0,0,0,0,0,0,0,0,0,1008,0,0,0,0,0,0,0,0,1031,0,0,1031,1031,0,0,0,0,0,0,1006,0,0,0,0,1008,0,0,0,0,0,1006,
|
||||
0,0,0,0,0,0,0,0,0,1008,0,0,0,0,0,0,0,0,1031,0,0,1031,1031,0,0,0,0,0,0,1006,0,0,0,0,1008,0,0,0,0,0,1006,
|
||||
1031,0,0,0,0,0,0,0,0,1008,0,0,0,0,0,0,0,0,1031,0,0,1031,1031,0,0,0,0,0,0,1006,0,0,0,0,1008,0,0,0,0,0,1006,
|
||||
1031,0,0,0,0,0,0,0,0,1008,0,1031,1031,1031,0,1031,1031,1031,1031,1031,1031,1031,1031,0,0,0,0,0,0,1006,0,0,0,0,1008,0,0,0,0,0,1006,
|
||||
1149,1027,0,1025,1027,620,1025,991,991,1027,0,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1031,1050,1050,1050,1050,1050,1050,1006,0,0,0,0,1008,0,0,0,0,0,1006,
|
||||
1009,1169,0,1044,1046,0,1044,1010,1010,1046,1031,1031,0,1031,1031,1031,1031,1031,1031,1031,1031,0,1031,1050,1050,1050,1050,1050,1050,1025,1026,1026,1026,1026,1027,0,0,0,0,0,1006,
|
||||
1008,620,0,0,0,0,0,0,0,1031,1031,1031,1031,1031,0,1031,0,0,0,1031,1031,0,0,0,0,0,0,0,0,1044,1045,1045,1045,1045,1046,0,0,0,0,0,1006,
|
||||
1008,0,0,0,0,0,0,0,0,1031,1031,0,1031,1031,1031,1031,0,0,0,0,1031,0,0,0,1031,0,0,0,0,1031,0,0,0,0,0,0,0,0,0,0,1006,
|
||||
1008,727,1031,1031,1031,1029,1031,1031,1031,727,1031,1031,1031,1031,1031,727,1031,1031,1031,1031,1031,727,1031,1031,1031,0,0,727,0,1031,1031,0,0,727,1031,1031,1031,0,1031,727,1006,
|
||||
1008,761,1031,1031,1031,1031,1031,1031,1031,761,1031,1031,1031,1031,1031,761,1031,1031,1031,1031,1031,761,1031,1031,1031,1031,1031,761,1031,1031,1031,1031,1031,761,1031,1031,1031,1031,1031,761,1006,
|
||||
1028,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1029,1188,1031,1189,1190,
|
||||
1047,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1048,1207,1031,1208,1209,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,1277,0,0,0,0,0,0,0,0,0,0,0,0,1008,1031,1006,1031,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,1277,0,0,0,0,1031,1031,1031,1031,1031,1031,1031,1031,1008,1031,1006,1031,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,1277,0,0,0,0,1031,1031,1031,1031,1031,1031,1031,1031,1008,1031,1006,1031,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,1277,0,0,0,0,1031,0,0,0,0,0,0,0,1012,1031,1012,620,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,1277,0,0,1031,0,1031,0,0,0,0,0,0,0,1012,0,1012,620,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,1277,0,0,1031,0,1031,0,0,0,0,0,0,0,1012,0,1012,620,
|
||||
620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,1277,0,1031,1031,0,1031,0,0,0,0,0,0,0,1012,0,1012,620,
|
||||
620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,1277,0,1031,1031,0,1031,1031,0,0,0,620,620,620,620,0,0,620,
|
||||
620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,1031,1031,1031,1031,1031,1031,1031,620,620,620,620,620,620,620,620,620,620,
|
||||
620,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1031,1031,1031,1031,1031,1031,1031,620,620,620,620,620,620,620,620,620,620,620
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup id="6" name="door">
|
||||
<object id="1" name="down" x="80.6667" y="177.667">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21N1"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="2" name="up" x="178" y="177.667">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21N3"/>
|
||||
<property name="nextX" type="int" value="2"/>
|
||||
<property name="nextY" type="int" value="16"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="11" x="1231.5" y="497.5">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21RI"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="12" x="1200.5" y="16.5">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21N1"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="13" x="1233" y="15.5">
|
||||
<properties>
|
||||
<property name="nextDirection" value="down"/>
|
||||
<property name="nextMap" value="21N1"/>
|
||||
<property name="nextX" type="int" value="0"/>
|
||||
<property name="nextY" type="int" value="0"/>
|
||||
</properties>
|
||||
</object>
|
||||
</objectgroup>
|
||||
</map>
|
@ -3,16 +3,70 @@
|
||||
"height": 4300,
|
||||
"width": 2
|
||||
},
|
||||
"activeFile": "test_couloir.tmx",
|
||||
"activeFile": "21RI.tmx",
|
||||
"expandedProjectPaths": [
|
||||
"."
|
||||
"png",
|
||||
".",
|
||||
"assets"
|
||||
],
|
||||
"file.lastUsedOpenFilter": "Fichiers de jeu de tuiles Tiled (*.tsx *.xml)",
|
||||
"file.lastUsedOpenFilter": "Tous les Fichiers (*)",
|
||||
"fileStates": {
|
||||
"": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 1
|
||||
},
|
||||
"21N2.tmx": {
|
||||
"expandedObjectLayers": [
|
||||
6
|
||||
],
|
||||
"scale": 0.75,
|
||||
"selectedLayer": 3,
|
||||
"viewCenter": {
|
||||
"x": 648,
|
||||
"y": 186
|
||||
}
|
||||
},
|
||||
"21N3.tmx": {
|
||||
"expandedObjectLayers": [
|
||||
6
|
||||
],
|
||||
"scale": 0.75,
|
||||
"selectedLayer": 3,
|
||||
"viewCenter": {
|
||||
"x": 425.3333333333333,
|
||||
"y": 276.66666666666663
|
||||
}
|
||||
},
|
||||
"21N3_v2.tmx": {
|
||||
"scale": 3,
|
||||
"selectedLayer": 3,
|
||||
"viewCenter": {
|
||||
"x": 404.3333333333333,
|
||||
"y": 137.5
|
||||
}
|
||||
},
|
||||
"21RI.tmx": {
|
||||
"expandedObjectLayers": [
|
||||
6
|
||||
],
|
||||
"scale": 1,
|
||||
"selectedLayer": 2,
|
||||
"viewCenter": {
|
||||
"x": 653,
|
||||
"y": 393.5
|
||||
}
|
||||
},
|
||||
"21RS.tmx": {
|
||||
"expandedObjectLayers": [
|
||||
6
|
||||
],
|
||||
"scale": 0.5,
|
||||
"selectedLayer": 4,
|
||||
"viewCenter": {
|
||||
"x": 756,
|
||||
"y": -33
|
||||
}
|
||||
},
|
||||
"C:/Users/remi/AppData/Roaming/Tiled/#Tests": {
|
||||
"dynamicWrapping": true
|
||||
},
|
||||
@ -116,6 +170,17 @@
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 5.5
|
||||
},
|
||||
"I21N3.tmx": {
|
||||
"expandedObjectLayers": [
|
||||
6
|
||||
],
|
||||
"scale": 0.75,
|
||||
"selectedLayer": 1,
|
||||
"viewCenter": {
|
||||
"x": 397.3333333333333,
|
||||
"y": 347.3333333333333
|
||||
}
|
||||
},
|
||||
"assets/32x32 first tileset.tsx": {
|
||||
"dynamicWrapping": false,
|
||||
"scaleInDock": 1,
|
||||
@ -131,10 +196,14 @@
|
||||
"scaleInEditor": 1
|
||||
},
|
||||
"assets/Dungeon_v2.tsx": {
|
||||
"scaleInDock": 1.5,
|
||||
"scaleInEditor": 1.5
|
||||
},
|
||||
"assets/HKU tileset.tsx": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 1
|
||||
},
|
||||
"assets/HKU tileset.tsx": {
|
||||
"assets/Interior.tsx": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 1
|
||||
},
|
||||
@ -145,7 +214,11 @@
|
||||
},
|
||||
"assets/Interior_v2.tsx": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 1
|
||||
"scaleInEditor": 3
|
||||
},
|
||||
"assets/MegaPixelArt_v2.tsx": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 3
|
||||
},
|
||||
"assets/OuterTileset.tsx": {
|
||||
"scaleInDock": 1,
|
||||
@ -167,7 +240,7 @@
|
||||
},
|
||||
"assets/Slates_v2.tsx": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 1
|
||||
"scaleInEditor": 3
|
||||
},
|
||||
"assets/TileSet_V2.tsx": {
|
||||
"scaleInDock": 1,
|
||||
@ -184,7 +257,7 @@
|
||||
"scaleInEditor": 1.5
|
||||
},
|
||||
"assets/pokemon_v2.tsx": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInDock": 1.5,
|
||||
"scaleInEditor": 1
|
||||
},
|
||||
"assets/tpq_v2.tsx": {
|
||||
@ -198,8 +271,8 @@
|
||||
"scale": 0.75,
|
||||
"selectedLayer": 1,
|
||||
"viewCenter": {
|
||||
"x": 640,
|
||||
"y": 640
|
||||
"x": 18,
|
||||
"y": 524.6666666666666
|
||||
}
|
||||
},
|
||||
"desert.tmx#Desert": {
|
||||
@ -213,8 +286,8 @@
|
||||
"scale": 1.5,
|
||||
"selectedLayer": 1,
|
||||
"viewCenter": {
|
||||
"x": 159.33333333333331,
|
||||
"y": 160.66666666666663
|
||||
"x": 208.66666666666663,
|
||||
"y": 17
|
||||
}
|
||||
},
|
||||
"test.tmx#test": {
|
||||
@ -226,10 +299,10 @@
|
||||
9
|
||||
],
|
||||
"scale": 1.5,
|
||||
"selectedLayer": 4,
|
||||
"selectedLayer": 0,
|
||||
"viewCenter": {
|
||||
"x": 299.66666666666663,
|
||||
"y": 221
|
||||
"x": 285.99999999999994,
|
||||
"y": 60.333333333333314
|
||||
}
|
||||
},
|
||||
"test_couloir.tmx#Dungeon_Tileset": {
|
||||
@ -273,8 +346,8 @@
|
||||
}
|
||||
},
|
||||
"last.exportedFilePath": "C:/Users/remi/OneDrive/Documents/Cours/05-HEVS/S2fb/informatic/vscode/tests_gdx2d_gradle/app/src/main/java/test_map/data",
|
||||
"last.externalTilesetPath": "C:/Users/remi/Desktop",
|
||||
"last.imagePath": "C:/Users/remi/OneDrive/Documents/Cours/05-HEVS/S2fb/informatic/projet/map/assets",
|
||||
"last.externalTilesetPath": "C:/Users/remi/OneDrive/Documents/Cours/05-HEVS/S2fb/informatic/vscode/PokeMudry/resources/map/assets",
|
||||
"last.imagePath": "C:/Users/remi/OneDrive/Documents/Cours/05-HEVS/S2fb/informatic/vscode/PokeMudry/resources/map/assets",
|
||||
"last.objectTypesPath": "C:/Users/remi/OneDrive/Documents/Cours/05-HEVS/S2fb/informatic/projet/map/propertytypes.json",
|
||||
"last.worldFilePath": "C:/Users/remi/OneDrive/Documents/Cours/05-HEVS/S2fb/informatic/projet/map",
|
||||
"lastUsedTilesetExportFilter": "Tous les Fichiers (*)",
|
||||
@ -288,26 +361,28 @@
|
||||
"map.tileWidth": 32,
|
||||
"map.width": 20,
|
||||
"openFiles": [
|
||||
"test_couloir.tmx",
|
||||
"test.tmx",
|
||||
"desert.tmx"
|
||||
"21RI.tmx",
|
||||
"21RS.tmx",
|
||||
"21N2.tmx",
|
||||
"21N3.tmx"
|
||||
],
|
||||
"project": "Maps.tiled-project",
|
||||
"property.type": "string",
|
||||
"recentFiles": [
|
||||
"desert.tmx",
|
||||
"test.tmx",
|
||||
"test_couloir.tmx",
|
||||
"assets/Dungeon_v2.tsx",
|
||||
"assets/Interior_v2.tsx",
|
||||
"21N3.tmx",
|
||||
"21N2.tmx",
|
||||
"21RS.tmx",
|
||||
"21RI.tmx",
|
||||
"assets/pokemon_v2.tsx",
|
||||
"assets/Slates_v2.tsx",
|
||||
"assets/TileSet_V2.tsx",
|
||||
"assets/tpq_v2.tsx",
|
||||
"assets/Dungeon.tsx",
|
||||
"assets/pokemon.tsx",
|
||||
"assets/Tiny Platform Quest Tiles.tsx"
|
||||
"assets/Dungeon_v2.tsx",
|
||||
"assets/Interior_v2.tsx",
|
||||
"test.tmx",
|
||||
"test_couloir.tmx",
|
||||
"I21N3.tmx",
|
||||
"desert.tmx"
|
||||
],
|
||||
"tileset.lastUsedFilter": "Fichiers de jeu de tuiles Tiled (*.tsx *.xml)",
|
||||
"tileset.lastUsedFormat": "tsx",
|
||||
"tileset.margin": 0,
|
||||
"tileset.spacing": 0,
|
||||
|
@ -40,7 +40,7 @@
|
||||
<tile id="6">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="7">
|
||||
@ -154,7 +154,7 @@
|
||||
<tile id="25">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="26">
|
||||
@ -256,7 +256,7 @@
|
||||
<tile id="42">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="43">
|
||||
@ -268,7 +268,7 @@
|
||||
<tile id="44">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="45">
|
||||
@ -328,19 +328,19 @@
|
||||
<tile id="54">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="55">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="56">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="57">
|
||||
@ -382,7 +382,7 @@
|
||||
<tile id="63">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="64">
|
||||
@ -436,25 +436,25 @@
|
||||
<tile id="72">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="73">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="74">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="75">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="76">
|
||||
@ -490,49 +490,49 @@
|
||||
<tile id="81">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="82">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="83">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="84">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="85">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="86">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="87">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="88">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="89">
|
||||
@ -586,7 +586,7 @@
|
||||
<tile id="97">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="98">
|
||||
@ -694,19 +694,19 @@
|
||||
<tile id="115">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="116">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="117">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="118">
|
||||
@ -766,37 +766,37 @@
|
||||
<tile id="127">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="128">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="129">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="130">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="131">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="132">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="133">
|
||||
@ -814,7 +814,7 @@
|
||||
<tile id="135">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="136">
|
||||
@ -832,85 +832,85 @@
|
||||
<tile id="138">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="139">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="140">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="141">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="142">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="143">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="144">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="145">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="146">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="147">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="148">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="149">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="150">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="151">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="152">
|
||||
@ -1000,31 +1000,31 @@
|
||||
<tile id="166">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="167">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="168">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="169">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="170">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="171">
|
||||
@ -1042,7 +1042,7 @@
|
||||
<tile id="173">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="174">
|
||||
@ -1114,31 +1114,31 @@
|
||||
<tile id="185">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="186">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="187">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="188">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="189">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="190">
|
||||
@ -1150,19 +1150,19 @@
|
||||
<tile id="191">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="192">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="193">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="194">
|
||||
@ -1210,13 +1210,13 @@
|
||||
<tile id="201">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="202">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="203">
|
||||
@ -1228,67 +1228,67 @@
|
||||
<tile id="204">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="205">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="206">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="207">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="208">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="209">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="210">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="211">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="212">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="213">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="214">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="215">
|
||||
@ -1306,13 +1306,13 @@
|
||||
<tile id="217">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="218">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="219">
|
||||
@ -1342,31 +1342,31 @@
|
||||
<tile id="223">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="224">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="225">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="226">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="227">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="walkable" type="bool" value="false"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
</tileset>
|
||||
|
@ -111,19 +111,19 @@
|
||||
</tile>
|
||||
<tile id="18">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="speed" type="float" value="1.5"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="19">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="speed" type="float" value="1.5"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="20">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="speed" type="float" value="1.5"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
@ -147,19 +147,19 @@
|
||||
</tile>
|
||||
<tile id="24">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="speed" type="float" value="1.5"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="25">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="speed" type="float" value="1.5"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="26">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="speed" type="float" value="1.5"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
@ -183,19 +183,19 @@
|
||||
</tile>
|
||||
<tile id="30">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="speed" type="float" value="1.5"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="31">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="speed" type="float" value="1.5"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="32">
|
||||
<properties>
|
||||
<property name="speed" type="float" value="1"/>
|
||||
<property name="speed" type="float" value="1.5"/>
|
||||
<property name="walkable" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
|
BIN
resources/map/assets/MegaPixelArt_v2.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
4
resources/map/assets/MegaPixelArt_v2.tsx
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.8" tiledversion="1.8.5" name="MegaPixelArt_v2" tilewidth="32" tileheight="32" tilecount="56" columns="8">
|
||||
<image source="MegaPixelArt_v2.png" width="256" height="224"/>
|
||||
</tileset>
|
Before Width: | Height: | Size: 9.7 KiB |
@ -468,6 +468,7 @@
|
||||
<objectgroup id="3" name="door">
|
||||
<object id="12" x="18" y="524">
|
||||
<properties>
|
||||
<property name="nextDirection" value=""/>
|
||||
<property name="nextMap" value="test"/>
|
||||
<property name="nextX" type="int" value="4"/>
|
||||
<property name="nextY" type="int" value="1"/>
|
||||
@ -475,6 +476,7 @@
|
||||
</object>
|
||||
<object id="13" x="592" y="1007">
|
||||
<properties>
|
||||
<property name="nextDirection" value=""/>
|
||||
<property name="nextMap" value="test_couloir"/>
|
||||
<property name="nextX" type="int" value="8"/>
|
||||
<property name="nextY" type="int" value="2"/>
|
||||
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 318 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 300 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 249 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 291 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 314 KiB |
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 323 KiB |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 217 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 292 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 229 KiB |
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 737 KiB |
@ -1823,6 +1823,7 @@
|
||||
<objectgroup id="2" name="door">
|
||||
<object id="3" x="46" y="14.6667">
|
||||
<properties>
|
||||
<property name="nextDirection" value=""/>
|
||||
<property name="nextMap" value="desert"/>
|
||||
<property name="nextX" type="int" value="8"/>
|
||||
<property name="nextY" type="int" value="15"/>
|
||||
@ -1830,6 +1831,7 @@
|
||||
</object>
|
||||
<object id="4" x="208" y="16.6667">
|
||||
<properties>
|
||||
<property name="nextDirection" value=""/>
|
||||
<property name="nextMap" value="test_couloir"/>
|
||||
<property name="nextX" type="int" value="11"/>
|
||||
<property name="nextY" type="int" value="2"/>
|
||||
|
@ -9,7 +9,7 @@ W, H = 32, 32
|
||||
|
||||
def pilToPygame(pilImage):
|
||||
return pygame.image.fromstring(
|
||||
pilImage.tobytes(), pilImage.size, pilImage.mode).convert()
|
||||
pilImage.tobytes(), pilImage.size, pilImage.mode).convert_alpha()
|
||||
|
||||
def rect(p1, p2):
|
||||
x = min(p1[0], p2[0])
|
||||
@ -38,7 +38,7 @@ class Rect:
|
||||
color = (0,255,0)
|
||||
self.hover = True
|
||||
|
||||
pygame.draw.rect(w, color, [x*W-sx, y*H-sy, self.w*W, self.h*H], 1)
|
||||
pygame.draw.rect(w, color, [x*W-sx, y*H-sy, self.w*W, self.h*H], 2)
|
||||
|
||||
@property
|
||||
def area(self):
|
||||
@ -76,6 +76,7 @@ class Editor:
|
||||
self.win = pygame.display.set_mode([self.WIDTH, self.HEIGHT], pygame.SRCALPHA)
|
||||
self.over = pygame.Surface([self.WIDTH, self.HEIGHT], pygame.SRCALPHA)
|
||||
self.clock = pygame.time.Clock()
|
||||
pygame.display.set_caption(f"Texture Splitter - {self.base}{self.ext}")
|
||||
|
||||
self.img = pilToPygame(img)
|
||||
self.a = np.array(img)
|
||||
@ -91,6 +92,7 @@ class Editor:
|
||||
self.rects = []
|
||||
self.sel = (False, None)
|
||||
self.scroll_x, self.scroll_y = 0, 0
|
||||
self.moving = False
|
||||
|
||||
def mainloop(self):
|
||||
while self.running:
|
||||
@ -140,16 +142,18 @@ class Editor:
|
||||
speed = self.SCROLL_SPEED if event.button == 5 else -self.SCROLL_SPEED
|
||||
if pygame.key.get_pressed()[pygame.K_LSHIFT]:
|
||||
self.scroll_x += speed
|
||||
self.scroll_x = min(self.a.shape[1]-self.WIDTH, self.scroll_x)
|
||||
self.scroll_x = max(0, self.scroll_x)
|
||||
|
||||
else:
|
||||
self.scroll_y += speed
|
||||
self.scroll_y = min(self.a.shape[0]-self.HEIGHT, self.scroll_y)
|
||||
self.scroll_y = max(0, self.scroll_y)
|
||||
|
||||
self.clamp_scroll()
|
||||
|
||||
elif event.button == 3:
|
||||
self.rects = list(filter(lambda r: not r.hover, self.rects))
|
||||
|
||||
elif event.button == 2:
|
||||
self.moving = True
|
||||
|
||||
elif event.type == pygame.MOUSEBUTTONUP:
|
||||
if event.button == 1:
|
||||
if self.sel[0]:
|
||||
@ -157,10 +161,25 @@ class Editor:
|
||||
self.sel = (False, None)
|
||||
self.organize()
|
||||
|
||||
elif event.button == 2:
|
||||
self.moving = False
|
||||
|
||||
elif event.type == pygame.KEYDOWN:
|
||||
if event.key == pygame.K_s and event.mod & pygame.KMOD_CTRL:
|
||||
self.save()
|
||||
|
||||
elif event.type == pygame.MOUSEMOTION:
|
||||
if self.moving:
|
||||
self.scroll_x -= event.rel[0]
|
||||
self.scroll_y -= event.rel[1]
|
||||
self.clamp_scroll()
|
||||
|
||||
def clamp_scroll(self):
|
||||
self.scroll_x = min(self.a.shape[1]-self.WIDTH, self.scroll_x)
|
||||
self.scroll_x = max(0, self.scroll_x)
|
||||
self.scroll_y = min(self.a.shape[0]-self.HEIGHT, self.scroll_y)
|
||||
self.scroll_y = max(0, self.scroll_y)
|
||||
|
||||
def organize(self):
|
||||
for rect in self.rects:
|
||||
rect.x = None
|
||||
|
@ -76,12 +76,13 @@ public class Player extends Character{
|
||||
nMap = ScreenMap.Door.nextMap;
|
||||
x = ScreenMap.Door.nextX;
|
||||
y = ScreenMap.Door.nextY;
|
||||
goalDirection = ScreenMap.Door.direction;
|
||||
} catch (Exception e) { }
|
||||
ScreenMap.Door.reset();
|
||||
if (nMap == null || x == null || y == null) return;
|
||||
map = nMap;
|
||||
setPosition(x*sm.tileWidth, y*sm.tileHeight);
|
||||
System.out.println("Go to: " + sm.map + " in " + x + " x " + y);
|
||||
System.out.println("Go to: " + map + " in " + x + " x " + y);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -59,11 +59,12 @@ public class ScreenMap extends RenderingScreen{
|
||||
|
||||
tiledLayer.clear();
|
||||
|
||||
try { map = player.getMap(); } catch (Exception e) {}
|
||||
try { map = player.getMap(); } catch (Exception e) { System.out.println("error for get map");}
|
||||
|
||||
for (int i = 0; i < 50; i++) {
|
||||
try { tiledLayer.add((TiledMapTileLayer) tMap.get(map).getLayers().get(i)); } catch (Exception e) { }
|
||||
}
|
||||
if (tiledLayer.size() <= 0) System.out.println("TiledLayer empty !!!");
|
||||
TiledMapTileLayer tl = tiledLayer.get(0);
|
||||
width = tl.getWidth();
|
||||
tileWidth = (int) tl.getTileWidth();
|
||||
@ -106,10 +107,11 @@ public class ScreenMap extends RenderingScreen{
|
||||
|
||||
public boolean isWalkable(Vector<TiledMapTile> tile) {
|
||||
if (tile == null) return false;
|
||||
boolean walkable = false;
|
||||
if (tile.size() == 0) return false;
|
||||
boolean walkable = true;
|
||||
for (TiledMapTile tiledMapTile : tile) {
|
||||
Object test = tiledMapTile.getProperties().get("walkable");
|
||||
walkable = Boolean.parseBoolean(test.toString()) ? true:walkable;
|
||||
walkable = Boolean.parseBoolean(test.toString()) ? walkable:false;
|
||||
}
|
||||
return walkable;
|
||||
}
|
||||
@ -150,6 +152,7 @@ public class ScreenMap extends RenderingScreen{
|
||||
try { Door.nextMap = mapProperties.get("nextMap").toString(); } catch (Exception e) { }
|
||||
try { Door.nextX = Integer.parseInt(mapProperties.get("nextX").toString()); } catch (Exception e) { }
|
||||
try { Door.nextY = Integer.parseInt(mapProperties.get("nextY").toString()); } catch (Exception e) { }
|
||||
try { Door.direction = Player.Direction.valueOf(mapProperties.get("nextDirection").toString()); } catch (Exception e) { }
|
||||
}
|
||||
}
|
||||
|
||||
@ -160,11 +163,13 @@ public class ScreenMap extends RenderingScreen{
|
||||
public static String nextMap;
|
||||
public static Integer nextX;
|
||||
public static Integer nextY;
|
||||
public static Player.Direction direction;
|
||||
|
||||
public static void reset(){
|
||||
nextMap = null;
|
||||
nextX = null;
|
||||
nextY = null;
|
||||
direction = null;
|
||||
}
|
||||
}
|
||||
|
||||
|