aboutsummaryrefslogtreecommitdiffstats
path: root/xml
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-01-06 08:52:56 -0500
committerClyne Sullivan <tullivan99@gmail.com>2017-01-06 08:52:56 -0500
commit1358acea95c821729f3770ea5968d9476b621936 (patch)
treeb0636f49c5a444390de54ac5dc7a508cf17bc057 /xml
parentefcf1a88cd0d0bee3973705b5975827be97f5a3a (diff)
parent37426dbe5fccd6702f1c98fb8a0e25910eeacb70 (diff)
Merge branch 'master' of https://github.com/tcsullivan/gamedev
Diffstat (limited to 'xml')
-rw-r--r--xml/entities.xml23
1 files changed, 12 insertions, 11 deletions
diff --git a/xml/entities.xml b/xml/entities.xml
index e1d7549..23b9358 100644
--- a/xml/entities.xml
+++ b/xml/entities.xml
@@ -3,21 +3,22 @@
<npc>
<Position value="0.0,100.0" />
<Visible value="0.2" />
- <Sprite> image="assets/NPC.png"
+ <Sprite>
<frame>
- <src id="0" offset="0,0" size="15,20" drawOffset="0,0">assets/NPC.png</src>
- <src id="1" offset="0,21" size="15,9" drawOffset="-1,14">assets/NPC.png</src>
- <src id="2" drawOffset="13,6">assets/items/ironSword.png</src>
+ <src limb="0" offset="0,0" size="13,15" drawOffset="0,5">assets/NPC_Sheet.png</src>
+ <src limb="1" offset="13,0" size="9,6" drawOffset="3,0">assets/NPC_Sheet.png</src>
</frame>
</Sprite>
<Animation>
- <movement update="1" changeId="1">
- <frame>
- <src offset="0,21" size="15,9" drawOffset="0,13">assets/NPC.png</src>
- </frame>
- <frame>
- <src offset="0,21" size="15,9" drawOffset="0,13">assets/NPC_Walk.png</src>
- </frame>
+ <movement>
+ <limb update="1" id="0">
+ <frame>
+ <src offset="0,21" size="15,9" drawOffset="0,13">assets/NPC.png</src>
+ </frame>
+ <frame>
+ <src offset="0,21" size="15,9" drawOffset="0,13">assets/NPC_Walk.png</src>
+ </frame>
+ </limb>
</movement>
</Animation>
<Direction />