diff options
author | gumi <git@gumi.ca> | 2021-08-19 13:23:38 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2021-08-19 13:31:39 -0400 |
commit | 052d3e60632d3d48ee0bb07f904950ede674ac6d (patch) | |
tree | 160742150c29ab2ebe7ca8aed741980679543b7d /graphics/sprites/monsters | |
parent | c3de97295315c36bd72a7f1befa43a2807753d43 (diff) | |
download | clientdata-052d3e60632d3d48ee0bb07f904950ede674ac6d.tar.gz clientdata-052d3e60632d3d48ee0bb07f904950ede674ac6d.tar.bz2 clientdata-052d3e60632d3d48ee0bb07f904950ede674ac6d.tar.xz clientdata-052d3e60632d3d48ee0bb07f904950ede674ac6d.zip |
fix several xml issues
Diffstat (limited to 'graphics/sprites/monsters')
-rw-r--r-- | graphics/sprites/monsters/pet-black-cat.xml | 5 | ||||
-rw-r--r-- | graphics/sprites/monsters/pet-cat.xml | 104 |
2 files changed, 53 insertions, 56 deletions
diff --git a/graphics/sprites/monsters/pet-black-cat.xml b/graphics/sprites/monsters/pet-black-cat.xml index 90d2c4f6..365d4409 100644 --- a/graphics/sprites/monsters/pet-black-cat.xml +++ b/graphics/sprites/monsters/pet-black-cat.xml @@ -1,6 +1,5 @@ <?xml version="1.0"?> <sprite> - <imageset name="base" src="graphics/sprites/monsters/pet-black-cat.png" width="32" height="32" offsetX="32" /> - - <include file="monsters/pet-cat.xml"/> + <imageset name="base" src="graphics/sprites/monsters/pet-black-cat.png" width="32" height="32" offsetX="32"/> + <include file="monsters/pet-cat.xml"/> </sprite> diff --git a/graphics/sprites/monsters/pet-cat.xml b/graphics/sprites/monsters/pet-cat.xml index 21a15152..e1635b74 100644 --- a/graphics/sprites/monsters/pet-cat.xml +++ b/graphics/sprites/monsters/pet-cat.xml @@ -1,56 +1,54 @@ <?xml version="1.0"?> <sprite> - <imageset name="base" src="graphics/sprites/monsters/pet-cat.png" width="32" height="32" offsetX="32" /> - - <action name="stand" imageset="base"> - <animation direction="down"> - <frame index="19" delay="25" offsetX="-30"/> - </animation> - <animation direction="left"> - <frame index="22" delay="25" offsetX="-30"/> - </animation> - <animation direction="up"> - <frame index="13" delay="25" offsetX="-30"/> - </animation> - <animation direction="right"> - <frame index="16" delay="25" offsetX="-30"/> - </animation> - </action> - <action name="attack" imageset="base"> - <animation direction="down"> - <frame index="19" delay="150" offsetX="-30"/> - <end /> - </animation> - <animation direction="left"> - <frame index="22" delay="150" offsetX="-30"/> - <end /> - </animation> - <animation direction="up"> - <frame index="13" delay="150" offsetX="-30"/> - <end /> - </animation> - <animation direction="right"> - <frame index="16" delay="150" offsetX="-30"/> - <end /> - </animation> - </action> - <action name="walk" imageset="base"> - <animation direction="down"> - <sequence start="18" end="20" delay="150" offsetX="-30" /> - <frame index="19" delay="150" offsetX="-30" /> - </animation> - <animation direction="left"> - <sequence start="21" end="23" delay="100" offsetX="-30" /> - <frame index="22" delay="150" offsetX="-30" /> - </animation> - <animation direction="up"> - <sequence start="12" end="14" delay="100" offsetX="-30" /> - <frame index="13" delay="150" offsetX="-30" /> - </animation> - <animation direction="right"> - <sequence start="15" end="17" delay="100" offsetX="-30" /> - <frame index="16" delay="150" offsetX="-30" /> - </animation> - - </action> + <imageset name="base" src="graphics/sprites/monsters/pet-cat.png" width="32" height="32" offsetX="32"/> + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="19" delay="25" offsetX="-30"/> + </animation> + <animation direction="left"> + <frame index="22" delay="25" offsetX="-30"/> + </animation> + <animation direction="up"> + <frame index="13" delay="25" offsetX="-30"/> + </animation> + <animation direction="right"> + <frame index="16" delay="25" offsetX="-30"/> + </animation> + </action> + <action name="attack" imageset="base"> + <animation direction="down"> + <frame index="19" delay="150" offsetX="-30"/> + <end/> + </animation> + <animation direction="left"> + <frame index="22" delay="150" offsetX="-30"/> + <end/> + </animation> + <animation direction="up"> + <frame index="13" delay="150" offsetX="-30"/> + <end/> + </animation> + <animation direction="right"> + <frame index="16" delay="150" offsetX="-30"/> + <end/> + </animation> + </action> + <action name="walk" imageset="base"> + <animation direction="down"> + <sequence start="18" end="20" delay="150" offsetX="-30"/> + <frame index="19" delay="150" offsetX="-30"/> + </animation> + <animation direction="left"> + <sequence start="21" end="23" delay="100" offsetX="-30"/> + <frame index="22" delay="150" offsetX="-30"/> + </animation> + <animation direction="up"> + <sequence start="12" end="14" delay="100" offsetX="-30"/> + <frame index="13" delay="150" offsetX="-30"/> + </animation> + <animation direction="right"> + <sequence start="15" end="17" delay="100" offsetX="-30"/> + <frame index="16" delay="150" offsetX="-30"/> + </animation> + </action> </sprite> |