Implemented many things. Refactored parsers. Added some behaviors and items. Added weapons.
This commit is contained in:
10
assets/sprites/items/Lvl1Sword.sprite
Normal file
10
assets/sprites/items/Lvl1Sword.sprite
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Sprite name="Lvl1Sword"
|
||||
anchorX="0" anchorY="1">
|
||||
<State name="Normal">
|
||||
<Frame tileSet="sprites/items/sword.png" cell="0" w="1" h="1" duration="1" />
|
||||
</State>
|
||||
<State name="Attack">
|
||||
<Frame tileSet="sprites/items/sword.png" cell="1" w="1" h="1" duration="1" />
|
||||
</State>
|
||||
</Sprite>
|
11
assets/sprites/items/Lvl2Sword.sprite
Normal file
11
assets/sprites/items/Lvl2Sword.sprite
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Sprite name="Lvl2Sword"
|
||||
anchorX="0" anchorY="1">
|
||||
<State name="Normal">
|
||||
<Frame tileSet="sprites/items/sword.png" cell="0" w="1" h="1" duration="1" />
|
||||
</State>
|
||||
<State name="Attack">
|
||||
<Frame tileSet="sprites/items/sword.png" cell="0" w="1" h="1" duration="10" />
|
||||
<Frame tileSet="sprites/items/sword.png" cell="1" w="1" h="1" duration="10" />
|
||||
</State>
|
||||
</Sprite>
|
@ -1,36 +0,0 @@
|
||||
{
|
||||
"name" : "Level 1 sword",
|
||||
"anchorX" : 0,
|
||||
"anchorY" : 1,
|
||||
|
||||
"states" :
|
||||
[
|
||||
{
|
||||
"name" : "Normal",
|
||||
"frames" :
|
||||
[
|
||||
{
|
||||
"tileSet" : "tilesets/PlayerTiles.png",
|
||||
"cell" : 0,
|
||||
"width" : 1,
|
||||
"height" : 2,
|
||||
"duration" : 1
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name" : " Attack",
|
||||
"frames" :
|
||||
[
|
||||
{
|
||||
"tileSet" : "tilesets/PlayerTiles.png",
|
||||
"cell" : 2,
|
||||
"width" : 1,
|
||||
"height" : 2,
|
||||
"duration" : 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
BIN
assets/sprites/items/sword.png
Normal file
BIN
assets/sprites/items/sword.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 284 B |
Reference in New Issue
Block a user