Spears get inhands.

This commit is contained in:
Pieter-Jan Briers
2019-08-02 22:44:43 +02:00
parent 8cf5195db6
commit de334904b4
5 changed files with 57 additions and 2 deletions

View File

@@ -4,9 +4,15 @@
id: Spear
components:
- type: Sprite
texture: Objects/spear.png
sprite: Objects/items/spear.rsi
state: spear
- type: Icon
texture: Objects/spear.png
sprite: Objects/items/spear.rsi
state: spear
- type: MeleeWeapon
- type: Item
Size: 24
sprite: Objects/items/spear.rsi
prefix: inhand

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

View File

@@ -0,0 +1,49 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "inhand-left",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
},
{
"name": "inhand-right",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
},
{
"name": "spear",
"directions": 1
}
]
}

View File

Before

Width:  |  Height:  |  Size: 171 B

After

Width:  |  Height:  |  Size: 171 B