Refactored sprite & transform. Replaced distance with collider when picking objects up.
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Sprite name="StoneHoe"
|
||||
<Sprite w="1" h="1"
|
||||
anchorX="0" anchorY="0.1">
|
||||
<State name="Normal">
|
||||
<Frame tileSet="sprites/items/hoe.png" cell="0" w="1" h="1" duration="1" />
|
||||
<Frame tileSet="sprites/items/hoe.png" cell="0" duration="1" />
|
||||
</State>
|
||||
<State name="Attack">
|
||||
<Frame tileSet="sprites/items/hoe.png" cell="1" w="1" h="1" duration="1" />
|
||||
<Frame tileSet="sprites/items/hoe.png" cell="1" duration="1" />
|
||||
</State>
|
||||
</Sprite>
|
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Sprite name="Lvl1Sword"
|
||||
<Sprite w="1" h="1"
|
||||
anchorX="0" anchorY="1">
|
||||
<State name="Normal">
|
||||
<Frame tileSet="sprites/items/sword.png" cell="0" w="1" h="1" duration="1" />
|
||||
<Frame tileSet="sprites/items/sword.png" cell="0" duration="1" />
|
||||
</State>
|
||||
<State name="Attack">
|
||||
<Frame tileSet="sprites/items/sword.png" cell="1" w="1" h="1" duration="1" />
|
||||
<Frame tileSet="sprites/items/sword.png" cell="1" duration="1" />
|
||||
</State>
|
||||
</Sprite>
|
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Sprite name="Lvl2Sword"
|
||||
<Sprite w="1" h="1"
|
||||
anchorX="0" anchorY="1">
|
||||
<State name="Normal">
|
||||
<Frame tileSet="sprites/items/sword.png" cell="0" w="1" h="1" duration="1" />
|
||||
<Frame tileSet="sprites/items/sword.png" cell="0" duration="1" />
|
||||
</State>
|
||||
<State name="Attack">
|
||||
<Frame tileSet="sprites/items/sword.png" cell="1" w="1" h="1" duration="1" />
|
||||
<Frame tileSet="sprites/items/sword.png" cell="1" duration="1" />
|
||||
</State>
|
||||
</Sprite>
|
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Sprite name="RustyWateringCan"
|
||||
<Sprite w="1" h="1"
|
||||
anchorX="0" anchorY="1">
|
||||
<State name="Normal">
|
||||
<Frame tileSet="sprites/items/wateringCan.png" cell="0" w="1" h="1" duration="1" />
|
||||
<Frame tileSet="sprites/items/wateringCan.png" cell="0" duration="1" />
|
||||
</State>
|
||||
<State name="Attack">
|
||||
<Frame tileSet="sprites/items/wateringCan.png" cell="1" w="1" h="1" duration="1" />
|
||||
<Frame tileSet="sprites/items/wateringCan.png" cell="1" duration="1" />
|
||||
</State>
|
||||
</Sprite>
|
Reference in New Issue
Block a user