Implemented reading spawn zones on maps. Monsters now spawn according to spawn zones.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="192" height="203" tilewidth="24" tileheight="24" infinite="0" nextlayerid="8" nextobjectid="45">
|
||||
<map version="1.10" tiledversion="1.10.1" orientation="orthogonal" renderorder="right-down" width="192" height="203" tilewidth="24" tileheight="24" infinite="0" nextlayerid="8" nextobjectid="59">
|
||||
<tileset firstgid="1" source="../maps/grass_tiles_24x24.tsx"/>
|
||||
<tileset firstgid="784" source="../maps/grass_tiles_modded.tsx"/>
|
||||
<layer id="5" name="Collision Layer" width="192" height="203">
|
||||
@@ -1044,7 +1044,6 @@
|
||||
<object id="8" name="Spawn Group 2" type="SpawnGroup" x="1461.33" y="3090.67" width="521.333" height="534.667">
|
||||
<ellipse/>
|
||||
</object>
|
||||
<object id="10" name="Spawn Group 3" type="SpawnGroup" x="2261.33" y="3040" width="242.667" height="592"/>
|
||||
<object id="12" name="Spawn Group 4" type="SpawnGroup" x="3029.33" y="2946.67" width="513.333" height="509.333">
|
||||
<ellipse/>
|
||||
</object>
|
||||
@@ -1054,9 +1053,6 @@
|
||||
<object id="14" name="Spawn Group 6" type="SpawnGroup" x="3182.67" y="1885.33" width="625.333" height="249.333">
|
||||
<ellipse/>
|
||||
</object>
|
||||
<object id="15" x="3352" y="2328">
|
||||
<ellipse/>
|
||||
</object>
|
||||
<object id="16" name="Spawn Group 7" type="SpawnGroup" x="3109.33" y="1048" width="729.333" height="225.333">
|
||||
<ellipse/>
|
||||
</object>
|
||||
@@ -1133,6 +1129,56 @@
|
||||
<point/>
|
||||
</object>
|
||||
<object id="44" name="Player Spawn" type="PlayerSpawnLocation" x="456" y="3288" width="24" height="24"/>
|
||||
<object id="45" name="Blue Slime" type="Monster" x="1560" y="3270">
|
||||
<properties>
|
||||
<property name="Type" type="int" propertytype="MonsterName" value="2"/>
|
||||
<property name="spawner" type="object" value="8"/>
|
||||
</properties>
|
||||
<point/>
|
||||
</object>
|
||||
<object id="52" name="Blue Slime" type="Monster" x="1578" y="3402">
|
||||
<properties>
|
||||
<property name="Type" type="int" propertytype="MonsterName" value="2"/>
|
||||
<property name="spawner" type="object" value="8"/>
|
||||
</properties>
|
||||
<point/>
|
||||
</object>
|
||||
<object id="53" name="Blue Slime" type="Monster" x="2292" y="3204">
|
||||
<properties>
|
||||
<property name="Type" type="int" propertytype="MonsterName" value="2"/>
|
||||
<property name="spawner" type="object" value="58"/>
|
||||
</properties>
|
||||
<point/>
|
||||
</object>
|
||||
<object id="54" name="Blue Slime" type="Monster" x="1746" y="3174">
|
||||
<properties>
|
||||
<property name="Type" type="int" propertytype="MonsterName" value="2"/>
|
||||
<property name="spawner" type="object" value="8"/>
|
||||
</properties>
|
||||
<point/>
|
||||
</object>
|
||||
<object id="55" name="Blue Slime" type="Monster" x="1860" y="3336">
|
||||
<properties>
|
||||
<property name="Type" type="int" propertytype="MonsterName" value="2"/>
|
||||
<property name="spawner" type="object" value="8"/>
|
||||
</properties>
|
||||
<point/>
|
||||
</object>
|
||||
<object id="56" name="Blue Slime" type="Monster" x="1776" y="3420">
|
||||
<properties>
|
||||
<property name="Type" type="int" propertytype="MonsterName" value="2"/>
|
||||
<property name="spawner" type="object" value="8"/>
|
||||
</properties>
|
||||
<point/>
|
||||
</object>
|
||||
<object id="57" name="Blue Slime" type="Monster" x="1704" y="3240">
|
||||
<properties>
|
||||
<property name="Type" type="int" propertytype="MonsterName" value="2"/>
|
||||
<property name="spawner" type="object" value="8"/>
|
||||
</properties>
|
||||
<point/>
|
||||
</object>
|
||||
<object id="58" name="Spawn Group 3" type="SpawnGroup" x="2220" y="3018" width="242.667" height="592"/>
|
||||
</objectgroup>
|
||||
<objectgroup id="7" name="Transition Layerxzs">
|
||||
<object id="40" type="LowerZone" x="1596" y="1134" width="372" height="684"/>
|
||||
|
||||
Reference in New Issue
Block a user