diff options
-rw-r--r-- | graphics/sprites/monsters/centaur.png | bin | 0 -> 135084 bytes | |||
-rw-r--r-- | graphics/sprites/monsters/centaur.xml | 80 | ||||
-rw-r--r-- | maps/014-3.tmx | 14 | ||||
-rw-r--r-- | monsters.xml | 21 |
4 files changed, 104 insertions, 11 deletions
diff --git a/graphics/sprites/monsters/centaur.png b/graphics/sprites/monsters/centaur.png Binary files differnew file mode 100644 index 00000000..80c7ecbd --- /dev/null +++ b/graphics/sprites/monsters/centaur.png diff --git a/graphics/sprites/monsters/centaur.xml b/graphics/sprites/monsters/centaur.xml new file mode 100644 index 00000000..a7217349 --- /dev/null +++ b/graphics/sprites/monsters/centaur.xml @@ -0,0 +1,80 @@ +<?xml version="1.0"?> +<sprite> + <imageset name="base" src="graphics/sprites/monsters/centaur.png" width="136" height="106"/> + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="32"/> + </animation> + <animation direction="left"> + <frame index="16"/> + </animation> + <animation direction="up"> + <frame index="48"/> + </animation> + <animation direction="right"> + <frame index="0"/> + </animation> + </action> + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="33" end="39" delay="120"/> + </animation> + <animation direction="left"> + <sequence start="17" end="23" delay="120"/> + </animation> + <animation direction="up"> + <sequence start="49" end="55" delay="120"/> + </animation> + <animation direction="right"> + <sequence start="1" end="7" delay="120"/> + </animation> + </action> + <action name="dead" imageset="base"> + <animation direction="down"> + <frame index="15" delay="300"/> + <frame index="15" delay="200"/> + <frame index="31" delay="300"/> + <frame index="31" delay="200"/> + <frame index="47" delay="500"/> + </animation> + <animation direction="up"> + <frame index="15" delay="300"/> + <frame index="15" delay="200"/> + <frame index="31" delay="300"/> + <frame index="31" delay="200"/> + <frame index="47" delay="500"/> + </animation> + <animation direction="left"> + <frame index="15" delay="300"/> + <frame index="15" delay="200"/> + <frame index="31" delay="300"/> + <frame index="31" delay="200"/> + <frame index="47" delay="500"/> + </animation> + <animation direction="right"> + <frame index="15" delay="300"/> + <frame index="15" delay="200"/> + <frame index="31" delay="300"/> + <frame index="31" delay="200"/> + <frame index="47" delay="500"/> + </animation> + </action> + <action name="attack" imageset="base"> + <animation direction="down"> + <sequence start="40" end="46" delay="100"/> + <end/> + </animation> + <animation direction="left"> + <sequence start="24" end="30" delay="100"/> + <end/> + </animation> + <animation direction="up"> + <sequence start="24" end="30" delay="100"/> + <end/> + </animation> + <animation direction="right"> + <sequence start="8" end="14" delay="100"/> + <end/> + </animation> + </action> +</sprite> diff --git a/maps/014-3.tmx b/maps/014-3.tmx index 0516cbbf..86278ca7 100644 --- a/maps/014-3.tmx +++ b/maps/014-3.tmx @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="254" height="174" tilewidth="32" tileheight="32" infinite="0" nextobjectid="27"> +<map version="1.0" tiledversion="2018.02.14" orientation="orthogonal" renderorder="right-down" width="254" height="174" tilewidth="32" tileheight="32" infinite="0" nextobjectid="28"> <properties> <property name="license" value="GPL v2+"/> <property name="manaplus version" value="2"/> @@ -1314,7 +1314,7 @@ </object> <object id="23" name="graphics/particles/wispdance.particle.xml" type="particle_effect" x="7072" y="4064" width="32" height="32"/> </objectgroup> - <objectgroup color="#ffff00" name="Spawns" visible="0"> + <objectgroup color="#ffff00" name="Spawns"> <object id="24" name="Mouboo" type="spawn" x="1344" y="1344" width="5888" height="3392"> <properties> <property name="death" value="45000"/> @@ -1323,7 +1323,7 @@ <property name="spawn" value="30000"/> </properties> </object> - <object id="25" name="Forest Mushroom" type="spawn" x="2432" y="992" width="3360" height="3776"> + <object id="25" name="Forest Mushroom" type="spawn" x="2432" y="3520" width="4544" height="1376"> <properties> <property name="death" value="45000"/> <property name="max_beings" value="9"/> @@ -1339,5 +1339,13 @@ <property name="spawn" value="30000"/> </properties> </object> + <object id="27" name="Centaur" type="spawn" x="800" y="2208" width="2400" height="2112"> + <properties> + <property name="death" value="60000"/> + <property name="max_beings" value="4"/> + <property name="monster_id" value="1139"/> + <property name="spawn" value="60000"/> + </properties> + </object> </objectgroup> </map> diff --git a/monsters.xml b/monsters.xml index 3cf15eb1..e0e3a74d 100644 --- a/monsters.xml +++ b/monsters.xml @@ -659,13 +659,18 @@ event="" Links the sfx to an action, like die, hit, hurt, miss, move or spawn. <monster id="1136" name="Cobalt Plant" targetCursor="small"> <sprite>monsters/plant.xml|#0047ab</sprite> </monster> - <monster id="1137" name="Skeleton"> - <sprite>monsters/skeleton.xml</sprite> - </monster> + <monster id="1137" name="Skeleton"> + <sprite>monsters/skeleton.xml</sprite> + </monster> <monster id="1138" name="Ocean Pirate"> - <sprite>monsters/oceanpirate.xml</sprite> - <sprite>equipment/head/piratebandana.xml</sprite> - <sound event="hit">weapons/piouslayer/hit1.ogg</sound> - <sound event="miss">weapons/piouslayer/miss1.ogg</sound> - </monster> + <sprite>monsters/oceanpirate.xml</sprite> + <sprite>equipment/head/piratebandana.xml</sprite> + <sound event="hit">weapons/piouslayer/hit1.ogg</sound> + <sound event="miss">weapons/piouslayer/miss1.ogg</sound> + </monster> + <monster id="1139" name="Centaur" targetCursor="medium"> + <sprite>monsters/centaur.xml</sprite> + <sound event="hit">weapons/piouslayer/hit1.ogg</sound> + <sound event="miss">weapons/piouslayer/miss1.ogg</sound> + </monster> </monsters> |